Testing · Middle · Question 36 of 75
What is toMatchInlineSnapshot?
- ✓Correct answer: A snapshot written directly into the test file, so the expected value is visible next to the code
- 2A snapshot of CSS only
- 3A snapshot stored in the browser
Explanation
Good for small values: the reviewer sees the expected output without opening .snap files.