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
6 lines
96 B
JavaScript
6 lines
96 B
JavaScript
function* foo({ bar }) {
|
|
return bar;
|
|
}
|
|
|
|
expect(foo({ bar: "bar" }).next().value).toBe("bar");
|