We then create a jest spy on the "click" function of this clickHandler object and invoke it by calling the click function. Our test then expects that the ...
確定! 回上一頁