Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法为破坏测试用例中的每个规范重置间谍。我知道,spy.restore但我正在寻找像 Jasmine 这样的行为,其中间谍在每个规范后自动重置。
spy.restore