ctx.restore()


将模拟函数的实现重置为其原始行为。 调用此函数后仍然可以使用模拟。

Resets the implementation of the mock function to its original behavior. The mock can still be used after calling this function.