Package
@async-fn/jest
Additional methods to jest.fn to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.8k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 4 months ago
- v1.8.0
- GitHub stars
- 10
- 3 forks
- Open issues / PRs
- 1 / 3
- Contributors
- -
- Commits, last 52 weeks
- 23
No weekly download data in the snapshot.
1,817 downloads last week, 3,307 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 1.8.0, 4 May 20264 months ago
- First published
- -
- Last push to GitHub
- 4 May 2026143 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 3
- Commits, last 52 weeks
- 23
- Dependents on npm
- 2
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 63 kB
- Dependencies (0)
- None
- Peer dependencies (1)
jest
npm install @async-fn/jest- jsDelivr
https://cdn.jsdelivr.net/npm/@async-fn/jest@1.8.0/ - unpkg
https://unpkg.com/@async-fn/jest@1.8.0/ - esm.sh
https://esm.sh/@async-fn/jest@1.8.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| async-test-util | 23.5k | - | 2 years ago | ESM + CommonJS | - |
| jest-websocket-mock | 212.9k | - | 3 years ago | ESM + CommonJS | - |
| jest-localstorage-mock | 281k | - | 3 years ago | ESM + CommonJS | - |
| vuex-mock-store | 13.5k | - | 3 years ago | CommonJS | - |
| fast-check | 30m | - | 5 days ago | ESM + CommonJS | - |
| mock-match-media | 31.2k | - | 11 months ago | ESM + CommonJS | - |
| @jest-mock/express | 502.9k | - | 1 year ago | CommonJS | - |
| jest-canvas-mock | 2m | - | 2 months ago | CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 1817 < 10000.