File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
examples/bun/__integration-tests__ Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ const timings = {
10
10
waitForResponse : 1999 ,
11
11
}
12
12
13
- jest . setTimeout ( 20000 )
13
+ jest . setTimeout ( 30000 )
14
14
15
- let toSkip = false
15
+ let toSkip = true
16
16
17
17
describe ( 'Bun integration' , ( ) => {
18
18
let serverUrl : string
19
19
beforeAll ( async ( ) => {
20
- if ( process . versions . node . startsWith ( '14 ' ) ) {
21
- toSkip = true
20
+ if ( process . versions . node . startsWith ( '18 ' ) ) {
21
+ toSkip = false
22
22
return
23
23
}
24
24
// Start Bun
@@ -37,7 +37,9 @@ describe('Bun integration', () => {
37
37
const chunkString = chunk . toString ( 'utf-8' )
38
38
console . log ( chunk . toString ( 'utf-8' ) )
39
39
if ( chunkString . includes ( 'Server is running on' ) ) {
40
- resolve ( chunkString . split ( 'Server is running on ' ) [ 1 ] )
40
+ setTimeout ( ( ) => {
41
+ resolve ( chunkString . split ( 'Server is running on ' ) [ 1 ] )
42
+ } , 5000 )
41
43
}
42
44
} )
43
45
} )
You can’t perform that action at this time.
0 commit comments