(filePath: string, moduleExport: any)
| 26 | const mockPathResolve = vi.fn((...paths: string[]) => actualPathResolve(...paths)); |
| 27 | const dynamicModuleMocks = new Map<string, any>(); |
| 28 | const mockDynamicModule = (filePath: string, moduleExport: any) => { |
| 29 | const resolvedPath = actualPathResolve(filePath); |
| 30 | dynamicModuleMocks.set(resolvedPath, moduleExport); |
| 31 | }; |
| 32 | const fsMocks = { |
| 33 | readFileSync: vi.fn(), |
| 34 | writeFileSync: vi.fn(), |
no test coverage detected
searching dependent graphs…