ctx.restore()
将模拟属性的实现重置为其原始行为。调用此函数后仍然可以使用模拟。
\Resets the implementation of the mock property to its original behavior. The mock can still be used after calling this function.
将模拟属性的实现重置为其原始行为。调用此函数后仍然可以使用模拟。
\Resets the implementation of the mock property to its original behavior. The mock can still be used after calling this function.