Skip to content

Commit 6d7f196

Browse files
committed
skip esm for Node 14, 16
1 parent 5000272 commit 6d7f196

File tree

1 file changed

+6
-3
lines changed
  • dev-packages/node-integration-tests/suites/contextLines

1 file changed

+6
-3
lines changed

dev-packages/node-integration-tests/suites/contextLines/test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { join } from 'path';
22
import { createRunner } from '../../utils/runner';
3+
import { conditionalTest } from '../../utils';
34

4-
describe('ContextLines integration', () => {
5-
test('reads encoded context lines from filenames with spaces (ESM)', done => {
5+
describe('ContextLines integration in CJS', () => {
6+
test('reads encoded context lines from filenames with spaces', done => {
67
expect.assertions(1);
78
const instrumentPath = join(__dirname, 'instrument.mjs');
89

@@ -36,8 +37,10 @@ describe('ContextLines integration', () => {
3637
})
3738
.start(done);
3839
});
40+
});
3941

40-
test('reads context lines from filenames with spaces (CJS)', done => {
42+
conditionalTest({ min: 18 })('ContextLines integration in ESM', () => {
43+
test('reads context lines from filenames with spaces', done => {
4144
expect.assertions(1);
4245

4346
createRunner(__dirname, 'scenario with space.cjs')

0 commit comments

Comments
 (0)