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

x/deno_slack_sdk/dev_deps.ts>mock.restore

SDK for building Run on Slack apps using Deno
Extremely Popular
Go to Latest
function mock.restore
import { mock } from "https://deno.land/x/deno_slack_sdk@2.0.1/dev_deps.ts";
const { restore } = mock;

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