Testing · Middle · Question 20 of 75

How do you check what a component sent to the API when using MSW?

Explanation

Prefer user-visible outcomes; check the payload only when it matters (e.g. the exact data sent to save).

Further reading

Problem with a question

Testing · Middle · question 20

Test yourself

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

Take this quiz