Skip to content

Commit 5dfed27

Browse files
authored
Update options.md
1 parent d1027a5 commit 5dfed27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/api/options.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ expect(wrapper.vm.$route).toBeInstanceOf(Object)
206206

207207
Component will be attached to DOM when rendered if set to `true`.
208208

209+
When attaching to the DOM, you should call `wrapper.destroy()` at the end of your test to
210+
remove the rendered elements from the document and destroy the component insatance.
211+
209212
## attrs
210213

211214
- type: `Object`

0 commit comments

Comments
 (0)