Kent codes the solution using jest.mock, which allows the user to mock an entire module to avoid monkey patching module exports.
確定! 回上一頁