Skip to content
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

Add code coverage #52

Merged
merged 4 commits into from
May 27, 2024
Merged

Conversation

ppsimatikas
Copy link
Contributor

Coverage is a very important part of keeping a code base up to standard and it enhances its long term maintenance, reducing bugs.

In this PR I would like to add coverage to the project and I also increase the code coverage to over 80%.

image

Copy link
Collaborator

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

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

Very nice, thanks a bunch! I made a few nit suggestions (that can be committed directly -- like new line at EOF) and one suggestion about creating and linking an issue with the real method payloads.

.nvmrc Outdated Show resolved Hide resolved
jest.config.json Outdated Show resolved Hide resolved
@@ -18,6 +19,7 @@ const SUPPORTED_NETWORKS = createNetworkMap([
arbitrum,
optimism,
optimismSepolia,
localhost,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is interesting... so we can use it with ganache now?

src/utils/kdf.ts Show resolved Hide resolved
tests/unit/wc.handlers.test.ts Show resolved Hide resolved
@bh2smith
Copy link
Collaborator

bh2smith commented May 25, 2024

Beauty! We will wait till the end of the weekend to merge things. Thanks for your contribution!

@bh2smith bh2smith merged commit a1d3c55 into BitteProtocol:main May 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants