Home/Engineering/Stop mocking fetch
Engineering

Stop mocking fetch

Why you shouldn't mock fetch or your API Client in your tests and what to do instead.

Stop mocking fetch

Why you shouldn't mock fetch or your API Client in your tests and what to do instead.

KCKent C. Dodds
Written by
Kent C. Dodds

Writes for Kent C. Dodds. Part of the Tech Report engineering index.

All articles by Kent C. Dodds →