(name, ...args)
| 7 | |
| 8 | // gives call count and argument errors names (otherwise sinon just uses "spy"): |
| 9 | let spy = (name, ...args) => { |
| 10 | let spy = sinon.spy(...args); |
| 11 | spy.displayName = `spy('${name}')`; |
| 12 | return spy; |
| 13 | }; |
| 14 | |
| 15 | describe('refs', () => { |
| 16 | let scratch; |
no outgoing calls
no test coverage detected