Errors when running test #3256
Answered
by
luloxi
Benrockiee
asked this question in
Q&A
-
I Get errors when running this test
This is the errors i get
This is my Contract
|
Beta Was this translation helpful? Give feedback.
Answered by
luloxi
Oct 13, 2022
Replies: 1 comment 6 replies
-
With |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Benrockiee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With
spideyNft = await ethers.getContractFactory("SpideyNft")
you're getting the contract factory, but not an instance of the spideyNft contract. Delete that line and replace it withspideyNft = await ethers.getContract("SpideyNft")
to get the instance of SpideyNft connected to your deployer's account.