Skip to content

Commit 507c635

Browse files
committed
pass option
1 parent 1d521d2 commit 507c635

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e2e/__tests__/transform.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,9 @@ onNodeVersions('^12.17.0 || >=13.2.0', () => {
256256
const dir = path.resolve(__dirname, '../transform/async-transformer');
257257

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

0 commit comments

Comments
 (0)