Skip to content

Commit

Permalink
[test] increasing timeout for unit tests
Browse files Browse the repository at this point in the history
they can be connecting to testnet network
which may cause delays bigger to 5sec
  • Loading branch information
ochaloup committed Nov 3, 2023
1 parent 4249185 commit 6cfa996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prepare": "husky install",
"pretest": "pnpm lint",
"test": "pnpm test:unit",
"test:unit": "jest --roots '<rootDir>/src'",
"test:unit": "jest --testTimeout 20000 --roots '<rootDir>/src'",
"test:integration": "anchor test",
"_test:integration": "jest --testTimeout 90000 --runInBand --globalSetup '<rootDir>/test/setup/globalSetup.ts' --roots '<rootDir>/test' -- $FILE",
"lint": "gts lint",
Expand Down

0 comments on commit 6cfa996

Please sign in to comment.