Skip to content

Commit b96b566

Browse files
Merge pull request #46 from sainthkh/once-methods
fix(sinon-chai): Added once commands for sinon methods
2 parents 3af9baa + df29c0e commit b96b566

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/sinon-chai.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@
181181
sinonMethod("calledAfter", "been called after %1");
182182
sinonMethod("calledOn", "been called with %1 as this", "", ", but it was called with %t instead");
183183
sinonMethod("calledWith", "been called with arguments %*");
184+
sinonMethod("calledOnceWith", "been called exactly once with arguments %*");
184185
sinonMethod("calledWithExactly", "been called with exact arguments %*");
186+
sinonMethod("calledOnceWithExactly", "been called exactly once with exact arguments %*");
185187
sinonMethod("calledWithMatch", "been called with arguments matching %*");
186188
sinonMethod("calledImmediatelyBefore", "been called immediately before %1");
187189
sinonMethod("calledImmediatelyAfter", "been called immediately after %1");

0 commit comments

Comments
 (0)