Add test.skip for Node.js bug in 'should not transform external' babel.spec.ts
This commit is contained in:
parent
e7d07bc797
commit
412e05bc8d
|
|
@ -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