DEV Community

loading...

Discussion on: Testing Node.js + Mongoose with an in-memory database

Collapse
paulasantamaria profile image
Paula Santamaría Author

It's hard to know without seeing the code, but my best guess is that jest is not finding any tests to run. Try specifying where your test files are, like so: jest ./tests-folder.

Collapse
sackingsand profile image
Yudha Putera Primantika

That's just the thing, when it ran on my partner's pc it works just fine. Even after we continue building it there, the result on my laptop remains the same.