This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Add test for new useContractReader #122
Labels
🧪 type.testing
automated testing
Comments
26 tasks
ssp6
added a commit
that referenced
this issue
Jan 19, 2022
Merged
ShravanSunder
added a commit
that referenced
this issue
Jan 21, 2022
ShravanSunder
added a commit
that referenced
this issue
Jan 22, 2022
ShravanSunder
added a commit
that referenced
this issue
Jan 22, 2022
ssp6
added a commit
that referenced
this issue
Jan 25, 2022
ShravanSunder
added a commit
that referenced
this issue
Jan 25, 2022
ShravanSunder
added a commit
that referenced
this issue
Jan 25, 2022
* #76 update useTokenBalance for blockNumberInterval option Ensures the blockNumberInterval option for hooks actually only updates after correct amount of blocks. For other hooks mocking will be used instead of being this verbose, to speed up test time * #76 Finish tests for useTokenBalance Include canary tests that will actually test the update options. All other tests we will just mock instead * #76 Update useTokenBalance test to be a bit neater * #122 Add tests for useContractReader with updateOptions * add helper function that improves readability of failing tests * move shouldFailWithMessage test helper to appropriate location * add notes for shravan for failing test useContractReader - When given options of block number interval to update * #122 updates to helpers and changed the logic by check blockchain for purpose first * #122 fixed final check * #122 fixed final check * #122 pushed an update for interval test * #122 made a test case more cohesive * #122 updated comments * #122 updated comments * #122 fix check by turning off automine * #122 minor cleanup and refactoring * updated actions * updated actions Co-authored-by: Shravan Sunder <[email protected]>
Closed in PR 162 |
ShravanSunder
pushed a commit
to ShravanSunder/eth-hooks
that referenced
this issue
Sep 8, 2023
Add dark theme switch
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Use Hook test strategy mentioned in: #118 (comment)
Additional tests (other than specified in strategy)
Test with using an event with an update option.
Test other update options without mocking
The text was updated successfully, but these errors were encountered: