Search results

567 packages found

JavaScript test spies, stubs and mocks.

published version 20.0.0, 2 months ago4169 dependents licensed under $BSD-3-Clause
31,354,890

Axios adapter that allows to easily mock requests

published version 2.1.0, 7 months ago546 dependents licensed under $MIT
7,270,207

Mock 'http' objects for testing Express, Next.js and Koa routing functions

published version 1.17.2, 20 days ago182 dependents licensed under $MIT
4,591,420

Mock http requests made using fetch

published version 12.5.2, 3 months ago252 dependents licensed under $MIT
3,971,994

Proxies nodejs require in order to allow overriding dependencies during testing.

published version 2.1.3, 6 years ago403 dependents licensed under $MIT
3,440,289

MongoDB Server for testing (auto-download latest version). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.

published version 10.1.4, 3 months ago230 dependents licensed under $MIT
3,057,674

MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.

published version 10.1.4, 3 months ago31 dependents licensed under $MIT
3,149,315

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, jasm

published version 14.13.4, 2 months ago11 dependents licensed under $MIT
1,881,081

Simple, intuitive mocking of Node.js modules.

published version 3.0.3, 6 years ago169 dependents licensed under $MIT
1,019,426

Mocking library for TypeScript

published version 2.6.1, 5 years ago58 dependents licensed under $MIT
1,000,777

Mock HTTP server for testing HTTP clients and stubbing webservices

published version 3.17.1, a month ago32 dependents licensed under $Apache-2.0
824,657

Simplifying the use of mocks with Node.js

published version 2.1.0, 8 years ago120 dependents
577,722

Intuitive mocking for Typescript class imports

published version 1.3.17, 10 days ago10 dependents licensed under $MIT
344,841

A minimal test double library for TDD with JavaScript

published version 3.20.2, a year ago45 dependents licensed under $MIT
576,243

A simple mocking library for TypeScript

published version 2.1.0, 8 years ago57 dependents licensed under $MIT
299,860

sinon library extension to stub whole object and interfaces

published version 2.0.2, 4 years ago19 dependents licensed under $MIT
406,406

Wipes webpack cache in a controled way.

published version 2.1.0, 7 years ago1 dependents licensed under $MIT
233,408

Mocks node.js `http.IncomingMessage` (a request). See also `mock-res`.

published version 0.2.0, 10 years ago37 dependents licensed under $MIT
233,765

Wipes node.js cache in a controlled way.

published version 2.1.2, 5 years ago2 dependents licensed under $MIT
240,538

Redis Server for testing. The server will allow you to connect your favorite client library to the Redis Server and run parallel integration tests isolated from each other.

published version 0.12.1, 4 months ago12 dependents licensed under $MIT
234,644