Open
Description
Received the puzzling error
expected customer to have been called exactly 10 times, but it was called 10 times
To reproduce:
const {spy} = require('sinon'),
chai = require('chai');
chai.should()
chai.use(require('sinon-chai'));
const n = '10',
s = spy();
for(let i=0; i < n; ++i) s();
s.should.have.callCount(n);
Metadata
Assignees
Labels
No labels