From 7ba0f3a8cfa82ae3a32300c74d0a15ab7c87ea15 Mon Sep 17 00:00:00 2001 From: Mathias Leppich Date: Thu, 12 Sep 2024 12:23:48 +0200 Subject: [PATCH] test(babel): test.skip for Node.js bug in babel.spec.ts 'should not transform external' --- tests/playwright-test/babel.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/playwright-test/babel.spec.ts b/tests/playwright-test/babel.spec.ts index 3fb0a1a725..de5ac911d4 100644 --- a/tests/playwright-test/babel.spec.ts +++ b/tests/playwright-test/babel.spec.ts @@ -148,5 +148,6 @@ test('should not transform external', async ({ runInlineTest }) => { ` }); expect(result.exitCode).toBe(1); + test.skip(result.output.includes('Error: This is caused by either a bug in Node.js or incorrect usage of Node.js internals'), 'Node.js bug'); expect(result.output).toContain('Cannot use import statement outside a module'); });