Skip to content

Commit c5be6f0

Browse files
authored
fix: jest.setTimeout is not applied in an async call. See jestjs/jest#9359
1 parent fc42fcf commit c5be6f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

e2e/e2e.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ const apiKey = process.env.ANALYTICS_APIKEY
2121
const token = process.env.ANALYTICS_TOKEN
2222
const rsid = process.env.ANALYTICS_RSID
2323

24-
beforeAll(async () => {
25-
jest.setTimeout(240000)
26-
})
24+
jest.setTimeout(240000)
2725

2826
test('sdk init test', async () => {
2927
sdkClient = await sdk.init(company, apiKey, token)

0 commit comments

Comments
 (0)