(Adaptive Loop) Pass 3
(Adaptive Loop) Record freeze commit hash in context manifest
This commit is contained in:
1 parent
816a0d8e14
commit
00f4c34da0
1079 files changed
+1131878
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
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 };
|
||||
Reference in new issue
Block a user