Hot answers tagged


the problem is coming from beforeEach function => you are deploying each time a new contract and it throws, because you are creating your user only in the first test suite Solutions: Replace beforeEach with before Create a user in each of your tests

Only top voted, non community-wiki answers of a minimum length are eligible