@@ -160,7 +160,7 @@ test.suite('[eval], <repl>, and [stdin] execute with correct globals', (test) =>
160
160
modulePaths,
161
161
exportsTest : true ,
162
162
// Note: vanilla node uses different name. See #1360
163
- stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[stdin].ts` ) } :1: ` ) ,
163
+ stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[stdin].ts` ) } :` ) ,
164
164
moduleAccessorsTest : null ,
165
165
argv : [ tsNodeExe ] ,
166
166
} ,
@@ -237,7 +237,7 @@ test.suite('[eval], <repl>, and [stdin] execute with correct globals', (test) =>
237
237
modulePaths : [ ...modulePaths ] ,
238
238
exportsTest : true ,
239
239
// Note: vanilla node uses different name. See #1360
240
- stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :1: ` ) ,
240
+ stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :` ) ,
241
241
moduleAccessorsTest : true ,
242
242
argv : [ tsNodeExe ] ,
243
243
} ,
@@ -262,7 +262,7 @@ test.suite('[eval], <repl>, and [stdin] execute with correct globals', (test) =>
262
262
modulePaths,
263
263
exportsTest : true ,
264
264
// Note: vanilla node uses different name. See #1360
265
- stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :1: ` ) ,
265
+ stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :` ) ,
266
266
moduleAccessorsTest : true ,
267
267
argv : [ tsNodeExe , './repl/script.js' ] ,
268
268
} ,
@@ -287,7 +287,7 @@ test.suite('[eval], <repl>, and [stdin] execute with correct globals', (test) =>
287
287
modulePaths,
288
288
exportsTest : true ,
289
289
// Note: vanilla node uses different name. See #1360
290
- stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :1: ` ) ,
290
+ stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :` ) ,
291
291
moduleAccessorsTest : true ,
292
292
argv : [ tsNodeExe , './does-not-exist.js' ] ,
293
293
} ,
@@ -312,7 +312,7 @@ test.suite('[eval], <repl>, and [stdin] execute with correct globals', (test) =>
312
312
modulePaths,
313
313
exportsTest : true ,
314
314
// Note: vanilla node uses different name. See #1360
315
- stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :1: ` ) ,
315
+ stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , `[eval].ts` ) } :` ) ,
316
316
moduleAccessorsTest : true ,
317
317
argv : [ tsNodeExe ] ,
318
318
} ,
@@ -404,7 +404,7 @@ test.suite('[eval], <repl>, and [stdin] execute with correct globals', (test) =>
404
404
// moduleAccessorsTest: true,
405
405
406
406
// Note: vanilla node uses different name. See #1360
407
- stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , replFile ) } :1: ` ) ,
407
+ stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , replFile ) } :` ) ,
408
408
} ,
409
409
} ) ;
410
410
}
@@ -433,7 +433,7 @@ test.suite('[eval], <repl>, and [stdin] execute with correct globals', (test) =>
433
433
// Note: vanilla node REPL does not set exports
434
434
exportsTest : true ,
435
435
// Note: vanilla node uses different name. See #1360
436
- stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , replFile ) } :1: ` ) ,
436
+ stackTest : expect . stringContaining ( ` at ${ join ( TEST_DIR , replFile ) } :` ) ,
437
437
moduleAccessorsTest : true ,
438
438
} ,
439
439
} ) ;
0 commit comments