Skip to content

Commit ba4f59f

Browse files
authored
test: unskip globalSetup unhandled rejection source map test (#8551)
1 parent 6d5b5b1 commit ba4f59f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎test/config/test/unhandled-rejections.test.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@ test('unhandled rejections of main thread are reported even when no reporter is
1212
expect(exitCode).toBe(1)
1313
expect(stderr).toContain('Unhandled Rejection')
1414
expect(stderr).toContain('Error: intentional unhandled rejection')
15-
// TODO: fix source map of global setup
16-
// expect(stderr).toContain('setup-unhandled-rejections.ts:2:42')
17-
expect(stderr).toContain('setup-unhandled-rejections.ts')
15+
expect(stderr).toContain('setup-unhandled-rejections.ts:2:42')
1816
})

0 commit comments

Comments
 (0)