Skip to content

valifetch/mock ​

Standalone mock export — testing utilities for intercepting requests without patching globalThis.fetch.

Example ​

ts
import { createMock } from 'valifetch/mock';

Functions ​

References ​

MockCall ​

Re-exports MockCall


MockHandler ​

Re-exports MockHandler


ValifetchMock ​

Re-exports ValifetchMock

Released under the MIT License. Built with Claude Code.