Skip to content

Lesson 9- Error in running unit test #2226

Discussion options

You must be logged in to vote

enclose deployer in curly braces {}
Rewrite the line const deployer = await getNamedAccounts() as const {deployer} = await getNamedAccounts() because you are extracting deployer which is an object from getNamedAccounts

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@othaime-en
Comment options

@narendra-sajwani
Comment options

Answer selected by narendra-sajwani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants