(content: unknown)
| 69 | } |
| 70 | |
| 71 | function mockReadFileSync(content: unknown) { |
| 72 | vi.mocked(fs.readFileSync).mockImplementation(() => |
| 73 | typeof content === 'string' ? content : JSON.stringify(content), |
| 74 | ); |
| 75 | } |
| 76 | |
| 77 | const fsMocks = vi.hoisted(() => ({ |
| 78 | readFileSync: vi.fn(), |
no outgoing calls
no test coverage detected
searching dependent graphs…