How can I fix this "Cannot find module '@widio/globals'"?

to anyone else having this issue:

the issue in mine was caused by having an …e2e.js file in the src/tests/ folder rather than in the ./test/specs/ folder

the instructions on 2.3.3 are correct and present, but it’s easy to miss this small instruction! link here

@mwinteringham might be worth updating that line in the course to be in red text similar to the Unit test section above?

3 Likes