Open Ali-Hussein-dev opened 3 years ago
Hey, did you solve this? I ran into the same error, although everything was working just fine 2 weeks ago..
I have encountered the same error. You should avoid placing your __test__
folder with jest tests within your pages folder. Simply move it somewhere out of the pages, this will resolve your issue.
@denisugo simple yet effective answer! Fixed exactly my problem. Thank you!
Error msg:
index.test.js
jest config
.babelrc
What could be the reason for it? how might my code affect an external module?