Skip to content

Glossary: Testing Web Apps

cleanup

A Testing Library function that removes rendered components from the page. The setup file runs it after each test so the next test starts with an empty page.

Where the book teaches it

Related terms

afterEachSetup filerender