Skip to content

Use Chai assertions over node assert #4

@aljones15

Description

@aljones15

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions