Files
agentic-labs-challenge-subm…/adaptive-loop/node_modules/vitest/dist/chunks/mocker.cRtM890J.d.ts
T
AlexKucera 00f4c34da0 (Adaptive Loop) Pass 3
(Adaptive Loop) Record freeze commit hash in context manifest
2026-08-13 15:23:35 +02:00

18 lines
545 B
TypeScript

import { MockedModuleType } from '@vitest/mocker';
type Promisable<T> = T | Promise<T>;
type MockFactoryWithHelper<M = unknown> = (importOriginal: <T extends M = M>() => Promise<T>) => Promisable<Partial<M>>;
type MockFactory = () => any;
interface MockOptions {
spy?: boolean;
}
interface PendingSuiteMock {
id: string;
importer: string;
action: 'mock' | 'unmock';
type?: MockedModuleType;
factory?: MockFactory;
}
export type { MockFactoryWithHelper as M, PendingSuiteMock as P, MockOptions as a, MockFactory as b };