Testing · Junior · Question 42 of 78

What does render from React Testing Library do?

Explanation

After each test RTL unmounts the component automatically (cleanup), if the runner exposes a global afterEach.

Further reading

Problem with a question

Testing · Junior · question 42

Test yourself

Take the Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz