Skip to content

Commit aff5e9a

Browse files
committed
ensure test order is correct
1 parent 3bf3588 commit aff5e9a

File tree

1 file changed

+3
-4
lines changed
  • dev-packages/node-integration-tests/suites/express/without-tracing

1 file changed

+3
-4
lines changed

dev-packages/node-integration-tests/suites/express/without-tracing/test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)