-
Notifications
You must be signed in to change notification settings - Fork 166
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
[Tests] Unit Tests Guide #171
Conversation
examples/evm/call-contract-with-token/tests/call-contract-with-token.test.js
Outdated
Show resolved
Hide resolved
@@ -36,6 +36,9 @@ | |||
"uuid": "^8.3.2" | |||
}, | |||
"devDependencies": { | |||
"@nomicfoundation/hardhat-chai-matchers": "^1.0.0", |
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.
I think these test should be deps, not dev deps, but open to discussion. My definition of dev deps are things that you need if you are WORKING on the examples. Every developer that wants to USE the examples will need these deps, right?
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.
If I move hardhat-chai-matchers to dependencies would it no make sense at that point to move chai and hardhat-ethers as well?
38d985c
to
567f80d
Compare
Added unit tests for some of our examples to serve as a guide for writing tests with axelarjs. Tests include
Also added readme for the canonical ITS token example.