File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ describe("getCachedDetection", () => {
313313 expect ( before ) . toBeDefined ( ) ;
314314
315315 // Wait a moment and modify the source file
316- await Bun . sleep ( 10 ) ;
316+ await Bun . sleep ( 50 ) ;
317317 writeFileSync (
318318 join ( testProjectDir , "src/app.ts" ) ,
319319 'const DSN = "https://changed@o123.ingest.sentry.io/789";'
@@ -374,7 +374,7 @@ describe("getCachedDetection", () => {
374374 expect ( before ) . toBeDefined ( ) ;
375375
376376 // Wait and add a new file to change directory mtime
377- await Bun . sleep ( 10 ) ;
377+ await Bun . sleep ( 50 ) ;
378378 writeFileSync ( join ( testProjectDir , "new-file.txt" ) , "test" ) ;
379379
380380 // Cache should be invalidated
@@ -408,7 +408,7 @@ describe("getCachedDetection", () => {
408408 expect ( before ) . toBeDefined ( ) ;
409409
410410 // Wait and add a new file to src/ to change its mtime
411- await Bun . sleep ( 10 ) ;
411+ await Bun . sleep ( 50 ) ;
412412 writeFileSync (
413413 join ( testProjectDir , "src/new-config.ts" ) ,
414414 "export default {}"
You can’t perform that action at this time.
0 commit comments