diff --git a/.github/workflows/jest-testing.yml b/.github/workflows/jest-testing.yml index 684343af..ada8cd4d 100644 --- a/.github/workflows/jest-testing.yml +++ b/.github/workflows/jest-testing.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: latest - + - uses: actions/checkout@master with: fetch-depth: 0 @@ -29,10 +29,10 @@ jobs: - name: Install dependencies run: yarn install - + - name: Start Anvil run: yarn test:anvil & - + - name: Wait for Anvil run: | for i in {1..30} @@ -42,10 +42,10 @@ jobs: fi sleep 1 done || exit 1 - + - name: Fund test accounts run: yarn test:fund - + - name: Testing run: | yarn test:jest | tee ./coverage.txt && exit ${PIPESTATUS[0]} diff --git a/tests/onchain-call-handler.test.ts b/tests/onchain-call-handler.test.ts index 2e66eb7a..84128fb7 100644 --- a/tests/onchain-call-handler.test.ts +++ b/tests/onchain-call-handler.test.ts @@ -141,7 +141,7 @@ describe("Failure cases", () => { } catch (er) { console.log(er); } - expect(consoleSpy).toHaveBeenCalledWith(); + expect(consoleSpy).toHaveBeenCalledWith(PROXY_ERROR); expect(consoleSpy).toHaveBeenCalledTimes(10); // 10 because we have 10 bad providers });