Testing · Middle · Question 71 of 75
What is component testing in Playwright or Cypress?
- ✓Correct answer: Mounting a single component in a real browser, without running the whole app
- 2Testing components in jsdom
- 3Snapshotting every component
Explanation
Useful for things jsdom can't do: real layout, scrolling, canvas, CSS behaviour.