From b8eb32ba36efe33a32d73af196798fa77e7495b6 Mon Sep 17 00:00:00 2001 From: Rens Groothuijsen Date: Sat, 26 Aug 2017 17:34:24 +0200 Subject: [PATCH] Documentation update for sinonjs/sinon#1535. --- docs/release-source/release/assertions.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/release-source/release/assertions.md b/docs/release-source/release/assertions.md index 38dc1bfab..67d4796c9 100644 --- a/docs/release-source/release/assertions.md +++ b/docs/release-source/release/assertions.md @@ -127,6 +127,11 @@ Passes if `spy` was always called with matching arguments. This behaves the same way as `sinon.assert.alwaysCalledWith(spy, sinon.match(arg1), sinon.match(arg2), ...)`. +#### `sinon.assert.calledWithNew(spy)` + +Passes if `spy` was called with the `new` operator. + + #### `sinon.assert.neverCalledWithMatch(spy, arg1, arg2, ...)` Passes if `spy` was never called with matching arguments.