Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 395 Bytes

destroy.md

File metadata and controls

11 lines (7 loc) · 395 Bytes

.destroy()

Destroy a Page object

Unmounts the reactElement used to create the Page from the DOM and navigates to /. It is recommended to invoke this method in an afterEach callback to clean up any side effects that were created during the test.

Related Methods