CrabScout. The best software around.
Search

Mock Service Worker

Mock application HTTP endpoints and return controlled responses during testing.

mswjs · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

In a Node.js project, install [email protected]. Give a fictional URL a local JSON reply and verify it without contacting the site.

What we tested

3.0.7. Give a fictional URL a local JSON reply and verify it without contacting the site. Intercepted the fixture request and matched its local response without using an external service.

Reviews

Rate this repo

More to explore

  • GleamWrite typed code for the Erlang virtual machine or JavaScript.GitHub projectOpen source
  • PixiSet up reproducible software environments for projects.GitHub projectOpen source
  • LycheeCheck that document links point to reachable paths.GitHub projectOpen source

Share

What the labels mean

Save to your library