@async-fn/jest
Version:
Additional methods to jest.fn to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story.
39 lines (38 loc) • 928 B
JSON
{
"name": "@async-fn/jest",
"version": "1.6.4",
"description": "Additional methods to jest.fn to introduce \"late resolve\" of promises returned by mock functions. This allows tests that read chronologically, like a story.",
"main": "build/index.js",
"types": "./src/asyncFnForJest.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/team-igniter-from-houston-inc/async-fn"
},
"keywords": [
"jest",
"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": {
"jest": ">= 24.9.0"
},
"publishConfig": {
"access": "public"
},
"gitHead": "fe15fb6da4f5f3fec15c68659239cea9a93fc9d4"
}