Skip to main content
Module

x/frugal/dep/std/testing/mock.ts>restore

A frugal web framework
Latest
function restore
import { restore } from "https://deno.land/x/frugal@0.9.6/dep/std/testing/mock.ts";

Restores all mocks registered in the current session that have not already been restored. If an id is provided, it will restore all mocks registered in the session associed with that id that have not already been restored.

Parameters

optional
id: number