Skip to content

Commit

Permalink
docs: add wrappedMethod line
Browse files Browse the repository at this point in the history
  • Loading branch information
43081j authored and mroderick committed Jan 26, 2020
1 parent c13dd54 commit 1e81ec3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/release-source/release/stubs.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Causes the stub to throw the provided exception object.
Causes the stub to throw the exception returned by the function.


### `stub.throwsArg(index);`
#### `stub.throwsArg(index);`

Causes the stub to throw the argument at the provided index.

Expand Down Expand Up @@ -684,3 +684,7 @@ stub.restore()
myObj.example; // 'oldValue'
```

#### `stub.wrappedMethod`

Holds a reference to the original method/function this stub has
wrapped.

0 comments on commit 1e81ec3

Please sign in to comment.