Skip to content

Commit

Permalink
Link to createStubInstance util.md docs in stubs.md (#2577)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanKaplanSES committed Jan 9, 2024
1 parent adcf936 commit cbae699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/release-source/release/stubs.md
Expand Up @@ -126,6 +126,8 @@ var stub = sinon.createStubInstance(MyConstructor);
stub.foo.returns(3);
```

See the [Utilities API](../utils) for more information.

#### `stub.withArgs(arg1[, arg2, ...]);`

Stubs the method only for the provided arguments.
Expand Down

0 comments on commit cbae699

Please sign in to comment.