mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 15:58:14 +00:00
fix: shut up vitest
This commit is contained in:
@@ -9,6 +9,7 @@ export function clearFakeFiles() {
|
||||
fakeFs.clear();
|
||||
}
|
||||
|
||||
// @ts-expect-error: I have no clue why vitest's types are wrong here
|
||||
vi.mock(import('node:fs/promises'), async (importOrig) => {
|
||||
const orig = await importOrig();
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user