Or through TypeScript (if ts-node is installed):. // jest.config.ts ... They can be mocked explicitly, like jest.mock('fs') .
確定! 回上一頁