Search results
137 packages found
Javascript object instantiation from Joi schema
Mock http server for testing. Regurgitates the request object.
Generate mock object from JSON Schema
Provides a sentinel object that can contain and return arbitrary unique properties for unit tests.
Node.js mock / polyfill http object library for http req / res
Generate random data
Test utilities for spying, stubbing and mocking functions, objects and classes in TypeScript
A library for setting up JavaScript factories to help build objects as test data, with full TypeScript support
Chrome-object mock for chrome extension testing
Mock UDP socket using object streams
JS object-spawner based on json-mask.
Mock 'http' objects for testing Express routing functions
Create random JSON objects using json-spawn and Chance.js
Simple utility to mock example objects based on JSON schema definitions
Creates mock request and response objects for unit testing Node.js code.
Build a fake backend by providing the content of files or JavaScript objects through configurable routes.
Given an object, pick a random key and return it.
Mocks XMLHttpRequest and fetch requests with the specified response object
- network
- mock
- mocking
- mocks
- mocker
- fetch
- fetch-mock
- XMLHttpRequest
- XMLHttpRequest-mock
- request
- requests
- request-mock
- XHR
- xhr-mock
- View more
MagicalMock is a convenience class for simplify creation of mock objects and functions for testing purposes. This package is a port of the python unittest.mock, with additional features for JavaScript.