File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
dev-packages/node-integration-tests/suites/contextLines Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { join } from 'path' ;
2
2
import { createRunner } from '../../utils/runner' ;
3
+ import { conditionalTest } from '../../utils' ;
3
4
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 => {
6
7
expect . assertions ( 1 ) ;
7
8
const instrumentPath = join ( __dirname , 'instrument.mjs' ) ;
8
9
@@ -36,8 +37,10 @@ describe('ContextLines integration', () => {
36
37
} )
37
38
. start ( done ) ;
38
39
} ) ;
40
+ } ) ;
39
41
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 => {
41
44
expect . assertions ( 1 ) ;
42
45
43
46
createRunner ( __dirname , 'scenario with space.cjs' )
You can’t perform that action at this time.
0 commit comments