Recordsnpm@vitest/spy4.1.11@vitest/spy.isMockFunction
Published samples
- @vitest/spy 4.1.11: fn, isMockFunction, spyOn 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-28
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 2✓ — Verified: UNKNOWN 0✓ 1✕
|
LOW | 2 | 1 | 67% | 1 | 2026-08-31 |
snapshot · 2026-08-31
Failure clusters
-
observed PROJECT_TYPECHECK Evidence gap ×2 2.1.9 → 4.1.11 executionContext=node · moduleSystem=cjs · os=windowsEvidence quality: legacy-evidence-incomplete · Environment variants: 2 · First recorded: 2026-08-19 · Last seen: 2026-08-21Diagnostic 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.isMockFunction 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.11 executionContext=node · moduleSystem=esm · os=linux · runtime=node@22.23 sha256:994722463fe8…fil<path>:<n> · throw Error( · ^ · Error: Invalid Chai property: toSatisfy. Did you mean <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
-
observed PROJECT_TEST exit 1 ERR_LOAD_URL ×1 4.1.11 executionContext=node · moduleSystem=esm · os=linux · runtime=node@22.23 sha256:a60e7101af87…Contract test failed: Error: Failed to load custom Reporter from basic · at loadCustomReporterModule (fil<path>:<n>:<n>) · at fil<path>:<n>:<n> …javascript/test-runner · test-runner-diagnostic · outer npm testEvidence quality: complete · Environment variants: 1 · First recorded: 2026-08-31 · Last seen: 2026-08-31