Timeout a promise after a specified amount of time
A simple little reporter that detects slow tests in Mocha, and prints a list of the name and time, ordered by slowest first.
Configurable OAuth2/OpenID Connect server for automated testing and development purposes
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 18 19 20
encode/decode with same encoded sort order as bytewise
Walk any kind of tree structure depth- or breadth-first. Supports promises and advanced map-reduce operations with a very small API.
Utility for mocking XMLHttpRequest.
Mock smart contracts in a smart way.
Request timeout middleware for Connect/Express
Maps to the proper jest mock type
flattens nested vertex data into a typed array
An easy-to-use wildcard globbing library.
Call an array of promise-returning functions, restricting concurrency to a specified limit.
Mock infrastructure for AI application testing — LLM APIs, image generation, image editing, text-to-speech, transcription, audio translation, audio generation, video generation, embeddings, MCP tools, A2A agents, AG-UI event streams, vector databases, sea
Mock server powered by Express.js
`[].reduce()` for old browsers
Intercept & mock http requests issued by XMLHttpRequest, fetch, nodejs https/http module, axios, jquery, superagent, ky, node-fetch, request, got or any other request libraries by intercepting XMLHttpRequest, fetch and nodejs native requests in low level.
Next-level auto mocking for Relay components. Minimal code required.
Generate random mock data from OpenAPI descriptions for msw.
get arguments to a function as an array, withouth deoptimizing
Return a function which tests if every element in an array-like object passes a test condition.
Array#isArray for older browsers
TypeScript definitions for mock-knex
Simple mock for child_process.spawn