Improve tests
Open
enhancement
good first issue
Hacktoberfest
help wanted
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
It would be good to split the two large tests for this repo into multiple smaller tests to assert against units of code rather than entire journeys. This will make the tests less brittle.
Also when using `sinon`, calling` stub.firstCall.matches` is preferable to `stub.getCall().args[0][0]` and similar.
Contributor guide
Assessment
This issue has not been assessed yet.