Skip to content

Conversation

@skywardboundd
Copy link
Contributor

@skywardboundd skywardboundd commented May 26, 2025

Closes #96

@skywardboundd skywardboundd linked an issue May 26, 2025 that may be closed by this pull request
@novusnota novusnota changed the title refator: tests refactor: tests May 26, 2025
@skywardboundd skywardboundd marked this pull request as ready for review June 25, 2025 14:24
@Kaladin13
Copy link

@skywardboundd Please add mention of dep version bump

@skywardboundd
Copy link
Contributor Author

@skywardboundd Please add mention of dep version bump

sure, merge it after #108

});
};

export const testContract = () => {
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update tests

4 participants