-
Notifications
You must be signed in to change notification settings - Fork 49
refactor: tests #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
refactor: tests #97
Conversation
|
@skywardboundd Please add mention of dep version bump |
sure, merge it after #108 |
| }); | ||
| }; | ||
|
|
||
| export const testContract = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me, this split into two files isn't justified, as it moves contents from one to another — and now we have two files to take care about. Complexity demon bad :)
Perhaps, it's better to add reusable helper testing utilities to contract.ts, such that it won't be coupled to the given contract AND it'd be easy to use those functions from the *.spec.ts files.
Closes #96