jest test using __mocks__ to replace dependency
Statistics for this project are still being loaded, please check back later.
A module to mock window.localStorage and window.sessionStorage in Jest
Mocking and stubbing in frontend development - companion repo
This is a simple exercise using Jest to perform unit testing based on the AAA pattern
Simple Mocking and Stubbing for javascript
A test runner agnostic stubbing library for NodeJS, supporting dependency injection and auto stub...
Headless test examples using Mocha, Chai, Browserify and ngMocks
Mock http requests made using fetch
A simulation data generator
ESM import and globals mocking for unit tests
Mock for socket.io
Simple request and response mock objects to pass into Express routes when testing using Sinon.
Integration tests and mocking web3 apps
JavaScript Mocking Fundamentals on TestingJavaScript.com