預設的情況下, jest 會去找專案資料夾中的 tests 資料夾: ... 透過Mock Function 的API 可以去修改mock function 的回傳值,讓每一次呼叫得到不同的 ...
確定! 回上一頁