Search results
3557 packages found
Seamless REST/GraphQL API mocking library for browser and Node.js.
Axios adapter that allows to easily mock requests
Low-level HTTP/HTTPS/XHR/fetch request interception library.
In-memory file-system with Node's fs API.
an identity object using ES6 proxies
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
JavaScript test spies, stubs and mocks.
REST API Testing Tool for all levels in a Test Pyramid
An Angular testing library for creating mock services, components, directives, pipes and modules in unit tests. It provides shallow rendering, precise stubs to fake child dependencies. ng-mocks works with Angular 5 6 7 8 9 10 11 12 13 14 15 16 17, jasmine
- angular
- test
- testing
- mock
- mocking
- component
- directive
- pipe
- provider
- service
- TestBed
- how-to
- frontend
- front-end
- View more
Mock http requests made using fetch (or isomorphic-fetch)
A lightweight Jest mock for unit testing Express
Mock implementation of the Next.js Router
A set of tools for emulating browser behavior in jsdom environment
- testing
- jsdom
- jest
- vitest
- mock
- Resize Observer API
- Intersection Observer API
- Web Animations API
- WAAPI
- matchMedia
- viewport
- react
Mock websockets and assert complex websocket interactions with Jest
A JavaScript mock Date object that can be used to change when "now" is.
A simplified way to generate mock data, builds using a simple schema and with the FakerJs
A response-like object for mocking a Node.js HTTP response stream
Mock a canvas in your jest tests.
The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses.