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

Add tests for stages cohabitation #23

Closed
Drarig29 opened this issue Jun 19, 2020 · 1 comment
Closed

Add tests for stages cohabitation #23

Drarig29 opened this issue Jun 19, 2020 · 1 comment

Comments

@Drarig29
Copy link
Owner

Write tests to check that it's correctly working when multiple stages exist in the storage.

@Drarig29
Copy link
Owner Author

This should already work because everything is based on ids. However, tests are written in the assumption that there is only one stage in the storage.

Example:

assert.equal((await storage.select('group')).length, 1);
assert.equal((await storage.select('round')).length, 4);
assert.equal((await storage.select('match')).length, 15);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant