(path: string | Promise<unknown>)
| 82 | }, |
| 83 | |
| 84 | unmock(path: string | Promise<unknown>): void { |
| 85 | if (typeof path !== 'string') { |
| 86 | throw new TypeError( |
| 87 | `vi.unmock() expects a string path, but received a ${typeof path}`, |
| 88 | ) |
| 89 | } |
| 90 | _mocker().queueUnmock(path, getImporter('unmock')) |
| 91 | }, |
| 92 | |
| 93 | doMock(path: string | Promise<unknown>, factory?: ModuleMockOptions | ModuleMockFactoryWithHelper): void { |
| 94 | if (typeof path !== 'string') { |
nothing calls this directly
no test coverage detected
searching dependent graphs…