ctx.restore()
返回上层文档
新增于: v22.3.0, v20.18.0
重置模拟模块的实现。
¥Resets the implementation of the mock module.