ember-cli / ember-cli/ember-cli

Improve testdouble.js usage

Open
#9,794 0 comments 0 reactions 0 assignees View on GitHub
internal
Dominant language
JavaScript
Stars
3.2k
Forks
1.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

Running the tests locally I saw several admonishements similar to this one:

```
Warning: testdouble.js - td.verify - test double was both stubbed and verified with arguments ({
packages: ["ember-cli-qunit@1.2.0"],
save: false,
"save-dev": true,
"save-exact": false,
packageManager: undefined
}), which is redundant and probably unnecessary. (see: https://github.com/testdouble/testdouble.js/blob/main/docs/B-frequently-asked-questions.md#why-shouldnt-i-call-both-tdwhen-and-tdverify-for-a-single-interaction-with-a-test-double )
```

We should clean that up so the test output is the cleanest possible.

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.