serokell / coffer

Multi-backend password store with multiple frontends
4 stars 2 forks source link

Make mocha tests independent from each other #90

Closed dcastro closed 2 years ago

dcastro commented 2 years ago

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 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

dcastro commented 2 years ago

Closed in favor of #104