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