diff --git a/types/sinon/sinon-tests.ts b/types/sinon/sinon-tests.ts index cb903c1a7b..d5ae4b0eb2 100644 --- a/types/sinon/sinon-tests.ts +++ b/types/sinon/sinon-tests.ts @@ -423,6 +423,7 @@ function testStub() { stub.callsArgWithAsync(1, 'a', 2); stub.callsArgOnWithAsync(1, instance, 'a', 2); stub.callsFake((s1, s2, s3) => { }); + stub.callsFake(() => { }); stub.get(() => true); stub.set((v) => { }); stub.onCall(1).returns(true);