Lesson 14 : Unit tests failing to pass #2741
-
Problem The test I wrote were failing so I decided to use the course repo to build the tests and improve my understanding of how to write tests for NFTs. Unfortunately, none of the tests imported from the course repo are passing as you can see below:
When I make modifications to the
====================================================================================== Steps taken
None of these made a difference. Tried making sense of the docs : https://docs.ethers.io/v5/troubleshooting/errors/#help-CALL_EXCEPTION Although this could be the issue due to the constructor arguments being deleted by the system in artifacts I was unable to confirm this was the actual issue and fix it. ====================================================================================== Test.js
====================================================================================== I would appreciate if for once someone in this group could provide a working solution or point me in the direction of one as of 90% of questions in this discussion group are solved by myself...So, not much support for new developers from where i stand. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
@DorianDaSilva : Can you send me your updated repo link!, and make sure to use imports directly from the chainlink dependency. last I check your contract was abstract and when I was testing your repo I got the exact same error of constructor arguments! |
Beta Was this translation helpful? Give feedback.
-
Repo please |
Beta Was this translation helpful? Give feedback.
@DorianDaSilva : Can you send me your updated repo link!, and make sure to use imports directly from the chainlink dependency.
last I check your contract was abstract and when I was testing your repo I got the exact same error of constructor arguments!