UNPKG

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

40 lines (39 loc) 974 B
{ "name": "@async-fn/jest", "version": "1.8.0", "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", "test": "jest --config=./jest.config.js" }, "devDependencies": { "@async-fn/core": "^1.8.0" }, "peerDependencies": { "jest": ">= 24.9.0" }, "publishConfig": { "access": "public" }, "gitHead": "225950de9b78aa4e1a8c137a5838aa355a279f09" }