Skip to content

Commit d17fc1f

Browse files
authored
docs: add info on resetAutoDestroyState
1 parent 69dd594 commit d17fc1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/api/enableAutoDestroy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- **Usage:**
88

9-
`enableAutoDestroy` will destroy all created `Wrapper` instances using the passed hook function (for example [`afterEach`](https://jestjs.io/docs/en/api#aftereachfn-timeout)).
9+
`enableAutoDestroy` will destroy all created `Wrapper` instances using the passed hook function (for example [`afterEach`](https://jestjs.io/docs/en/api#aftereachfn-timeout)). After calling the method, you can revert to the default behavior by calling the `resetAutoDestroyState` method.
1010

1111
```js
1212
import { enableAutoDestroy, mount } from '@vue/test-utils'

0 commit comments

Comments
 (0)