mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2025-02-25 18:21:04 -05:00
7 lines
183 B
TypeScript
7 lines
183 B
TypeScript
|
import { fs } from "memfs";
|
||
|
|
||
|
jest.mock("node:fs", () => fs);
|
||
|
jest.mock("node:fs/promises", () => fs.promises);
|
||
|
jest.mock("fs", () => fs);
|
||
|
jest.mock("fs/promises", () => fs.promises);
|