dojo / dojo/cli-create-theme

Improve tests

Open
#5 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.