Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make mocha tests independent from each other #90

Closed
dcastro opened this issue Apr 29, 2022 · 1 comment
Closed

Make mocha tests independent from each other #90

dcastro opened this issue Apr 29, 2022 · 1 comment
Labels
web-api This issue is related to the Coffer Web API

Comments

@dcastro
Copy link
Member

dcastro commented Apr 29, 2022

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

  • The mocha tests can be run independently from each other
@dcastro dcastro added the web-api This issue is related to the Coffer Web API label Apr 29, 2022
@dcastro
Copy link
Member Author

dcastro commented May 11, 2022

Closed in favor of #104

@dcastro dcastro closed this as completed May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web-api This issue is related to the Coffer Web API
Projects
None yet
Development

No branches or pull requests

1 participant