UNPKG

@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.

38 lines (37 loc) 890 B
{ "name": "@async-fn/sinon", "version": "1.6.4", "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" }, "devDependencies": { "@async-fn/core": "^1.4.1" }, "peerDependencies": { "sinon": "^9.0.2" }, "publishConfig": { "access": "public" }, "gitHead": "fe15fb6da4f5f3fec15c68659239cea9a93fc9d4" }