@@ -272,19 +272,42 @@ function testRunInContext({ fn, isIsolated, isNew }: TestRunInContextArg) {
272
272
expect ( result ) . toContain ( "foo.js" ) ;
273
273
} ) ;
274
274
}
275
- test . skip ( "can specify a line offset " , ( ) => {
276
- // TODO: use test.todo
275
+ test . todo ( "can specify filename " , ( ) => {
276
+ //
277
277
} ) ;
278
- test . skip ( "can specify a column offset " , ( ) => {
279
- // TODO: use test.todo
278
+ test . todo ( "can specify lineOffset " , ( ) => {
279
+ //
280
280
} ) ;
281
- test . skip ( "can specify a timeout" , ( ) => {
282
- const context = createContext ( { } ) ;
283
- const result = ( ) =>
284
- fn ( "while (true) {};" , context , {
285
- timeout : 1 ,
286
- } ) ;
287
- expect ( result ) . toThrow ( ) ; // TODO: does not timeout
281
+ test . todo ( "can specify columnOffset" , ( ) => {
282
+ //
283
+ } ) ;
284
+ test . todo ( "can specify displayErrors" , ( ) => {
285
+ //
286
+ } ) ;
287
+ test . todo ( "can specify timeout" , ( ) => {
288
+ //
289
+ } ) ;
290
+ test . todo ( "can specify breakOnSigint" , ( ) => {
291
+ //
292
+ } ) ;
293
+ test . todo ( "can specify cachedData" , ( ) => {
294
+ //
295
+ } ) ;
296
+ test . todo ( "can specify importModuleDynamically" , ( ) => {
297
+ //
298
+ } ) ;
299
+
300
+ // https://github.com/oven-sh/bun/issues/10885 .if(isNew == true)
301
+ test . todo ( "can specify contextName" , ( ) => {
302
+ //
303
+ } ) ;
304
+ // https://github.com/oven-sh/bun/issues/10885 .if(isNew == true)
305
+ test . todo ( "can specify contextOrigin" , ( ) => {
306
+ //
307
+ } ) ;
308
+ // https://github.com/oven-sh/bun/issues/10885 .if(isNew == true)
309
+ test . todo ( "can specify microtaskMode" , ( ) => {
310
+ //
288
311
} ) ;
289
312
}
290
313
0 commit comments