Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/std/testing/mock.ts>restore

Deno-powered framework for building business web apps
Go to Latest
function restore
import { restore } from "https://deno.land/x/netzo@0.3.91/deps/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