Skip to content

Commit

Permalink
fix: called with arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Jun 1, 2024
1 parent bddfb34 commit 021bc75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/jest-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: latest

- uses: actions/checkout@master
with:
fetch-depth: 0
Expand All @@ -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}
Expand All @@ -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]}
Expand Down
2 changes: 1 addition & 1 deletion tests/onchain-call-handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

Expand Down

1 comment on commit 021bc75

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines Statements Branches Functions
Coverage: NaN%
Unknown% (0/0) Unknown% (0/0) Unknown% (0/0)

JUnit

Tests Skipped Failures Errors Time
7 0 💤 0 ❌ 0 🔥 2.483s ⏱️
Coverage Report (0%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files0000 

Please sign in to comment.