File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
dev-packages/node-integration-tests/suites/express/without-tracing Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ afterAll(() => {
44 cleanupChildProcesses ( ) ;
55} ) ;
66
7- test ( 'correctly applies isolation scope even without tracing' , async ( ) => {
7+ test ( 'correctly applies isolation scope even without tracing' , done => {
88 const runner = createRunner ( __dirname , 'server.ts' )
99 . ignore ( 'session' , 'sessions' )
1010 . expect ( {
@@ -43,8 +43,7 @@ test('correctly applies isolation scope even without tracing', async () => {
4343 } ,
4444 } ,
4545 } )
46- . start ( ) ;
46+ . start ( done ) ;
4747
48- await runner . makeRequest ( 'get' , '/test/isolationScope/1' ) ;
49- await runner . makeRequest ( 'get' , '/test/isolationScope/2' ) ;
48+ runner . makeRequest ( 'get' , '/test/isolationScope/1' ) . then ( ( ) => runner . makeRequest ( 'get' , '/test/isolationScope/2' ) ) ;
5049} ) ;
You can’t perform that action at this time.
0 commit comments