From 507c6351b59e0176a28fc84bd0914b6e05c8d348 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 13 Mar 2021 16:14:31 +0100 Subject: [PATCH] pass option --- e2e/__tests__/transform.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/__tests__/transform.test.ts b/e2e/__tests__/transform.test.ts index 7074d1354d54..a325a7a4e7f9 100644 --- a/e2e/__tests__/transform.test.ts +++ b/e2e/__tests__/transform.test.ts @@ -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);