test(babel): test.skip for Node.js bug in babel.spec.ts 'should not transform external'
This commit is contained in:
parent
cd4dabef8b
commit
7ba0f3a8cf
|
|
@ -148,5 +148,6 @@ test('should not transform external', async ({ runInlineTest }) => {
|
||||||
`
|
`
|
||||||
});
|
});
|
||||||
expect(result.exitCode).toBe(1);
|
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');
|
expect(result.output).toContain('Cannot use import statement outside a module');
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue