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 11import { join } from 'path' ;
22import { 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' )
You can’t perform that action at this time.
0 commit comments