摘要: jest.mock('./filename', () => { const originalModule = jest.requireActual('./filename') return { ...originalModule, fnA: jest.fn(), fnB: (b: boolean): 阅读全文
posted @ 2022-12-22 16:06 Zhentiw 阅读(21) 评论(0) 推荐(0) 编辑
摘要: This challenge continues from 476 - Sum, it is recommended that you finish that one first, and modify your code based on it to start this challenge. I 阅读全文
posted @ 2022-12-22 15:50 Zhentiw 阅读(17) 评论(0) 推荐(0) 编辑