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

Use Chai assertions over node assert #4

Open
aljones15 opened this issue Jun 14, 2023 · 0 comments
Open

Use Chai assertions over node assert #4

aljones15 opened this issue Jun 14, 2023 · 0 comments
Assignees

Comments

@aljones15
Copy link
Collaborator

aljones15 commented Jun 14, 2023

Currently tests here use node's assertion library.

Tests usually use Chai's should and expect interface.
Please do try to use should:

https://www.chaijs.com/guide/styles/#should

the use of assert is clever, but if a chai assertion doesn't throw the mocha reporter might not see it.

So use chai to assert on the error from the server.

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

2 participants