I\'m trying to learn the A Test Driven Approach with MongodB. The folder structure
A user.js
to test in the src folder
const mongo
It doesn't
Tests should not have a specific order. All test suites should be working as standalone agnostic to other suites. Inside the suite you can use "before" and "beforeEach" (or "after", "afterEach") in-order to create setup and teardown steps.
But if the order of the tests matters, something is broken in the design.