handleClick}> } } Unit Test describe('Child Test', () => { let child let handleClickSpy= jest.spyOn(Parent.prototype, 'handleClick'); ...
確定! 回上一頁