test(babel): test.skip for Node.js bug in babel.spec.ts 'should not transform external'

This commit is contained in:
Mathias Leppich 2024-09-12 12:23:48 +02:00
parent cd4dabef8b
commit 7ba0f3a8cf

View file

@ -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');
});