@async-fn · 4 packages

Name Description License Versions
@async-fn/bun Additional methods to bun:test mock to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story. MIT 1 greenflagged / 1 total
@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. MIT 2 greenflagged / 26 total
@async-fn/sinon Additional methods to sinon.spy to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story. MIT 2 greenflagged / 17 total
@async-fn/vitest Additional methods to vi.fn to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story. MIT 2 greenflagged / 2 total
Showing 4 packages