I am using Enzyme however you should be able to spy on similarly using other testing libraries – just make sure you are spying on a function in ...
確定! 回上一頁