Back to Sinon

stub.callsThrough

docs/concepts/stubs/api/calls-through.md

22.1.0203 B
Original Source

stub.callsThrough();

Causes the original method wrapped into the stub to be called when none of the conditional stubs are matched.

<<< ../../../.vitepress/tests/docs/stubs/api/calls-through.test.js