Skip to content

Commit c31edab

Browse files
author
Daniel Koch
committed
Fix typo and update docs
1 parent 54197e2 commit c31edab

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,16 @@ Removes all aliases.
230230

231231
This function returns the prunk object so that you can chain calls.
232232

233-
## More ocumentation
233+
### prunk.teardown()
234234

235-
[Documented source](https://dak0rn.github.io/prunk/).
235+
Removes all aliases and suppressed/mocked imports. Shorthand for
236+
237+
```js
238+
prunk.unmockAll();
239+
prunk.unsuppressAll();
240+
prunk.unaliasAll();
241+
```
242+
243+
## More documentation
244+
245+
[Documented source](https://dak0rn.github.io/prunk/).

0 commit comments

Comments
 (0)