Skip to content

Commit 0d82e4f

Browse files
committed
fix tests
1 parent f498741 commit 0d82e4f

File tree

3 files changed

+1413
-12
lines changed

3 files changed

+1413
-12
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ jobs:
2525
${{ runner.os }}-
2626
2727
- name: yarn install
28-
run: |
29-
yarn install
28+
run: yarn install --frozen-lockfile
3029

3130
- name: npm run build
3231
run: |
3332
npm run build
3433
34+
- name: Clear Jest cache
35+
run: npx jest --clearCache
36+
3537
- name: Run Tests
3638
run: |
3739
yarn test

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@
6565
"@rollup/plugin-sucrase": "^3.1.0",
6666
"@types/node": "^18.15.3",
6767
"babel-eslint": "^10.1.0",
68+
"babel-jest": "28.1.0",
6869
"babel-loader": "^8.2.2",
6970
"babel-preset-env": "^1.7.0",
7071
"eslint": "^7.15.0",
7172
"eslint-loader": "^4.0.2",
7273
"eslint-plugin-import": "^2.22.1",
7374
"ethers": "^5.7.1",
7475
"fetch-mock": "^9.11.0",
76+
"jest": "28.1.0",
7577
"jest-environment-jsdom": "^28.1.0",
7678
"node-fetch": "^2.6.9",
7779
"regenerator-runtime": "^0.13.7",

0 commit comments

Comments
 (0)