Skip to content

Commit

Permalink
pass option
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 13, 2021
1 parent 1d521d2 commit 507c635
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/__tests__/transform.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ onNodeVersions('^12.17.0 || >=13.2.0', () => {
const dir = path.resolve(__dirname, '../transform/async-transformer');

it('should transform with transformer with only async transforms', () => {
const {json, stderr} = runWithJson(dir, ['--no-cache']);
const {json, stderr} = runWithJson(dir, ['--no-cache'], {
nodeOptions: '--experimental-vm-modules',
});
expect(stderr).toMatch(/PASS/);
expect(json.success).toBe(true);
expect(json.numPassedTests).toBe(1);
Expand Down

0 comments on commit 507c635

Please sign in to comment.