Amy Blankenship
Jan 20, 2023

--

The point is that unless you need to change the format from what's coming back from your endpoint, you literally do not need to test any of that. You can assume that you're getting what the endpoint returns. Your endpoint should have its own tests and is not your concern.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (1)