-
Notifications
You must be signed in to change notification settings - Fork 829
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 NFT Marketplace Tests #1829
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1829 +/- ##
==========================================
+ Coverage 60.99% 61.02% +0.03%
==========================================
Files 259 259
Lines 22824 22824
==========================================
+ Hits 13922 13929 +7
+ Misses 7917 7910 -7
Partials 985 985 |
@@ -0,0 +1,48 @@ | |||
# dApp Tests |
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.
thanks for adding this!
@@ -20,5 +20,6 @@ npx hardhat compile | |||
# Set the CONFIG environment variable | |||
export DAPP_TEST_ENV=$1 | |||
|
|||
npx hardhat test --network $1 uniswap/uniswapTest.js | |||
npx hardhat test --network $1 steak/SteakTests.js | |||
#npx hardhat test --network $1 uniswap/uniswapTest.js |
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.
is this supposed to be commented out? also maybe we can add another argument to specify which test to run - and if no argument is passed, it just runs all 3?
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.
Oops, forgot to add it back in when I was testing something - just updated to take in the argument so it's easier to run locally
Describe your changes and provide context
Add NFT Marketplace tests to dapp tests
We test for:
Notably, since unassociated accounts cannot own pointer tokens, they are unable to buy tokens (fails while estimating gas). Should check if this is expected behavior?
Testing performed to validate your change
CI Pipeline additions