Right now, the mocha tests must be run in a specific order.
For example, the test for the /view endpoint assumes some entries were created in previous tests
We should rewrite these tests such that they can be run independently from each other, like we did with the bats tests
Acceptance criteria
The mocha tests can be run independently from each other
Clarification and motivation
Right now, the mocha tests must be run in a specific order. For example, the test for the
/view
endpoint assumes some entries were created in previous testsWe should rewrite these tests such that they can be run independently from each other, like we did with the
bats
testsAcceptance criteria