@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.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| typosquat | typosquat.levenshtein:vite | AI (typosquat): Scoped vitest plugin; name similarity to 'vite' is incidental, not impersonation. | ai |