Skip to content

Lesson 7: FundMetest.js, when testing 0 passing(2s) 9 failing #1039

Discussion options

You must be logged in to vote

Hii @Sugunaramkumar , Hardhat has made some changes when you initialize your project now it comes with Lock.sol in contracts directory and some pre written test for same Lock.test.js in test directory. So when you run yarn hardhat test its also the running the tests of Lock.test.js .

Solution : just remove Lock.test.js from test directory or any other file which is extra

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sugunaramkumar
Comment options

Answer selected by Sugunaramkumar
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