← Home

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

2
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source, so a manually published version cannot be tied back to a reviewed commit.

Maintainers

jansaviku-turso

Keywords

vitestasync-testingunit-testingmockmockingtesttestingtddbddasynchronous

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
typosquat typosquat.levenshtein:vite AI (typosquat): Scoped vitest plugin; name similarity to 'vite' is incidental, not impersonation. ai

Versions (showing 2 of 2)

Version Deps Published
1.7.0 0 / 1
1.6.5 0 / 1