ctx.restore()


新增于: v19.1.0, v18.13.0

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

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

AltStyle によって変換されたページ (->オリジナル) /