@async-fn/sinon
Version:
Additional methods to sinon.spy to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story.
39 lines (38 loc) • 938 B
JSON
{
"name": "@async-fn/sinon",
"version": "1.8.0",
"description": "Additional methods to sinon.spy to introduce \"late resolve\" of promises returned by mock functions. This allows tests that read chronologically, like a story.",
"repository": {
"type": "git",
"url": "https://github.com/team-igniter-from-houston-inc/async-fn"
},
"main": "build/index.js",
"keywords": [
"sinon",
"async-testing",
"unit-testing",
"mock",
"mocking",
"test",
"testing",
"tdd",
"bdd",
"asynchronous"
],
"author": "Team: Igniter from Houston Inc. Consulting",
"license": "MIT",
"scripts": {
"build": "build-async-fn",
"test": "jest --config=./jest.config.js"
},
"devDependencies": {
"@async-fn/core": "^1.8.0"
},
"peerDependencies": {
"sinon": ">= 9.0.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "225950de9b78aa4e1a8c137a5838aa355a279f09"
}