* Avoid to conflicts to v8intrinsic plugin * Support hack-style pipeline * Update tests for hask-style pipeline * Update tests 2 * Add changelog * Update misc tests * Address reviews * Fix type error * Copy plugin array * Add tests * Address review * Add error tests
19 lines
313 B
JavaScript
19 lines
313 B
JavaScript
run_spec(
|
|
{
|
|
dirname: __dirname,
|
|
snippets: [
|
|
"(yield y)",
|
|
"(yield)",
|
|
"(await y)",
|
|
"(a?.b)",
|
|
"a?.b",
|
|
"(a.b())",
|
|
"a.b()",
|
|
"(a.b?.())",
|
|
"a.b?.()",
|
|
"yield",
|
|
].map((code) => `async function * a() { a |> foo(%) |> ${code}}`),
|
|
},
|
|
["babel"]
|
|
);
|