/js-mocking-demo

Example of how to use Stubs, Spies for Mocking JavaScript tests.

Primary LanguageJavaScript

JavaScript Mocking

Example of how to use Stubs, Spies and Mocks for JavaScript tests.

Blog Post describes how to use this repo.

Technologies

Install

$ yarn

Basic In-memory storage

Run basic program.

$ yarn start

Run tests.

$ yarn test

Further Reading