Search results
3593 packages found
Seamless REST/GraphQL API mocking library for browser and Node.js.
Low-level HTTP/HTTPS/XHR/fetch request interception library.
In-memory file-system with Node's fs API.
Axios adapter that allows to easily mock requests
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.
REST API Testing Tool for all levels in a Test Pyramid
JavaScript test spies, stubs and mocks.
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
A storybook addon to mock fetch/XHR request
- storybook
- mock
- http-mock
- fetch-mock
- xhr-mock
- mock-data
- storybook-addon
- data-state
- storybook-mock-request
- mock-request
Mock implementation of the Next.js Router
A lightweight Jest mock for unit testing Express
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
> minimal fork of nanospy, with more features 🕵🏻♂️
Intercept and respond to requests in the browser (XMLHttpRequest, XDomainRequest) and Node.js (http(s) module)
A JavaScript mock Date object that can be used to change when "now" is.
Mock http requests made using fetch (or isomorphic-fetch)
Fluent pluggable interface for easily wrapping `describe` and `it` blocks in Mocha tests.
A connect middleware to serve a RESTful api by some json, xml or js files