Hi,
In the docs I see that sinon-chai assertion for calledOnceWith is spy.should.always.have.been.calledOnceWith(...args).
In the source code in tests I see that spy.should.have.been.calledOnceWith() is used (without always)
Could you please clarify if always should be used for calledOnceWith assertion?
Hi,
In the docs I see that sinon-chai assertion for
calledOnceWithisspy.should.always.have.been.calledOnceWith(...args).In the source code in tests I see that
spy.should.have.been.calledOnceWith()is used (without always)Could you please clarify if always should be used for calledOnceWith assertion?