mc-publish/tests/utils/actual-fs.ts

3 lines
188 B
TypeScript
Raw Normal View History

2024-10-08 19:11:03 +09:00
export const actualFs = jest.requireActual<typeof import("node:fs")>("node:fs");
export const actualFsPromises = jest.requireActual<typeof import("node:fs/promises")>("node:fs/promises");