You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/enableAutoDestroy.md
+30
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,33 @@ describe('Foo', () => {
23
23
})
24
24
})
25
25
```
26
+
27
+
## resetAutoDestroyState
28
+
29
+
-**Usage:**
30
+
31
+
After calling `enableAutoDestroy` you might need to disable auto-destroy behavior (for example when some of your test suites rely on wrapper being persistent across separate tests)
32
+
33
+
To achieve this you might call `resetAutoDestroyState` to disable previously registered hook
0 commit comments