SinonJS
Open
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Instead of `mock = makeMockFn();` you may want to require [sinon](http://sinonjs.org/docs/#stubs) and call `mock = sinon.stub()` you'll then be able to leverage the power of Sinon API.
My two cents :)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating makeMockFn and its callers in the repository, then inspect how the project currently creates and verifies spies. Review the Sinon suggestion alongside the existing dependency setup and tests; done means the relevant mock behavior is preserved and the test suite passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100