Repository navigation

#

sinon

sinonjs/sinon
JavaScript
9719
11 天前

A minimal test double library for TDD with JavaScript

JavaScript
1424
1 年前
753
4 年前

Unit testing framework for dependency injection that automates mocking and simplifies test setup, reducing boilerplate code and enabling developers to build comprehensive and reliable test suites with a standardized, type-safe API

TypeScript
411
3 天前

Some examples on how to achieve the same goal with either of both libraries: sinon and jest. Also some of those goals achievable only by one of these tools.

JavaScript
302
5 个月前

✅Simple and straightforward Vuex Store mock for vue-test-utils

JavaScript
272
14 小时前

Shows how to do unit tests and integration tests with Redux-Form

JavaScript
218
8 年前

A collection of JavaScript coding challenges

JavaScript
124
4 年前

Intuitive mocking library for Typescript class imports

TypeScript
111
2 个月前

Hapi.js based REST boilerplate which uses latest ES7/ES8 features (async/await) with code coverage and follows best pratices

JavaScript
109
8 年前

Example how to mock TypeORM database connection for your blazing unit-tests with Mocha and Jest

TypeScript
104
2 年前

Extend Sinon stubs for Mongoose methods to test chained methods easily

JavaScript
87
2 年前

Mock/stub the Express request/response objects using Jest or sinon

JavaScript
63
2 年前

Sinon sandbox test integration for QUnit

TypeScript
58
5 天前

A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.

JavaScript
48
5 年前

Simple request and response mock objects to pass into Express routes when testing using Sinon.

JavaScript
47
2 年前

Typescript implementation of red code parser and core simulator for the classic game Corewar

TypeScript
45
2 年前