Skip to content

Commit

Permalink
fix: jest.setTimeout is not applied in an async call. See jestjs/jest…
Browse files Browse the repository at this point in the history
  • Loading branch information
shazron committed Jul 12, 2023
1 parent fc42fcf commit c5be6f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ const apiKey = process.env.ANALYTICS_APIKEY
const token = process.env.ANALYTICS_TOKEN
const rsid = process.env.ANALYTICS_RSID

beforeAll(async () => {
jest.setTimeout(240000)
})
jest.setTimeout(240000)

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

0 comments on commit c5be6f0

Please sign in to comment.