restore is meant for cleaning up fake methods after your test is done. So you do want to call it, but you should do so in an afterEach. Your second problem is a ...
確定! 回上一頁