Recordsnpm@vitest/spy4.1.10@vitest/spy.spyOn
Published samples
- @vitest/spy 4.1.10: function and method spying with spyOn and fn This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. HOWfnisMockFunctionspyOnnode 22.23.2 MIT-0 · 2026-08-27
Compatibility matrix
Project-level observations and symbol/contract verifications are counted separately and never combined.
These counts do not distinguish how the symbol was called: overloads, argument shapes and options are pooled together. What a particular call shape does is proven by a sample's contract, not by these numbers.
| Environment | Confidence | Observations | Verified | Pass rate | Peers | Last seen |
|---|---|---|---|---|---|---|
| node 22.23 · JS · npm · linux glibc
Observations: PROJECT_PROCESS 1✓ — Verified: UNKNOWN 0✓ 2✕
|
LOW | 1 | 2 | 33% | 1 | 2026-08-31 |
snapshot · 2026-08-31
Failure clusters
-
observed PROJECT_PROCESS ERR_MODULE_NOT_FOUND Evidence gap ×7 3.2.7 → 4.1.10 executionContext=node · moduleSystem=esmEvidence quality: legacy-evidence-incomplete · Environment variants: 2 · First recorded: 2026-08-14 · Last seen: 2026-08-30Diagnostic re-verification candidate
-
observed UNKNOWN exit 1 ERR_ASSERTION Evidence gap ×2 4.1.10 → 4.1.11 executionContext=node · moduleSystem=esm · os=linux · runtime=node@22.23 @vitest/spy.spyOn sha256:0323537231f1…Contract test failed: AssertionError [ERR_ASSERTION]: default mock name should be spy · <str> !== <str> · at testFnCreationAndCallTracking (<url>) …node · unclassified-diagnostic · outer node · gap stage-unknownEvidence quality: complete · Environment variants: 1 · First recorded: 2026-08-31 · Last seen: 2026-08-31Diagnostic re-verification candidate
-
observed UNKNOWN exit 1 Evidence gap ×1 4.1.10 executionContext=node · moduleSystem=esm · os=linux · runtime=node@22.23 @vitest/spy.spyOn sha256:a5410fc7068b…<url> · import { fn, spyOn, isMockFunction, mocks } from <str>; · ^^^^^ · SyntaxError: The requested module <str> does not provide an export named <str>node · unclassified-diagnostic · outer node · gap stage-unknownEvidence quality: complete · Environment variants: 1 · First recorded: 2026-08-31 · Last seen: 2026-08-31Diagnostic re-verification candidate