LESSON 15 - UnitTest: Question about getProceeds(deployer) #3282
DorianDaSilva
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The terminal was returning several errors for
it("lists and be bought")
and the root cause was pinpointed to this funtion.I modified it to the one below and the test passes
My question is "how come the repo and video only use
deployer
as an argument and I had to modify it todeployer.address
for it to run? And, is this correct or does it alter the functions of the test?Beta Was this translation helpful? Give feedback.
All reactions