Discussion

Ask HN: How do you mock a 3rd party REST server?

Hello,

I'm making a github integration, so I rely on github's rest api on my backend.

I wonder how I can do unit tests for my backend by mocking github's api?

What method do you recommend?

Thanks

1 points billconan 9 years ago 1 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton