The Wayback Machine - http://web.archive.org/web/20201205005823/https://github.com/mswjs/examples
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Usage examples

Collection of usage examples of Mock Service Worker library.

Example structure

Usage examples have a consistent README structure, so it's easier to comprehend and cross-reference them.

Each example always has the following sections:

  1. "Getting started", a list of instructions to get this specific example running on your local machine.
  2. "Key points", highlights of the implementation necessary to achieve the example. Include exact file references and a brief explanation.

Full examples

Complete examples showcase Mock Service Worker integration on all levels: for development, unit, and E2E tests.

React

Angular

Scoped examples

Scoped examples illustrate the usage of Mock Service Worker with particular libraries or frameworks.

You can’t perform that action at this time.