mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* move core transformation cases to plugins * move tests to traverse/regression
7 lines
131 B
JavaScript
7 lines
131 B
JavaScript
function* foo(bar = "bar") {
|
|
return bar;
|
|
}
|
|
|
|
expect(foo().next().value).toBe("bar");
|
|
expect(foo("foo").next().value).toBe("foo");
|