Skip to content

Type error while testing the smartContract #252

Answered by javierdash
Gireeshbd asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Gireeshbd!
Try doing this:

  • on “this.beforeEach” remove this.

  • Remove const on “const simpleStorageFactory” and from “const simpleStorage”

  • Remove this 2 lines:

await simpleStorage.deployed()
console.log(simpleStorage.address)

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@javierdash
Comment options

@Gireeshbd
Comment options

@PatrickAlphaC
Comment options

@Gireeshbd
Comment options

@honxsinatra
Comment options

Answer selected by Gireeshbd
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants