Skip to main content
Go to Latest
method TestSuiteInternal.setHook
import { TestSuiteInternal } from "https://deno.land/std@0.140.0/testing/_test_suite.ts";

This is used internally to add hooks to a test suite.

Parameters

name: HookNames
fn: (this: T) => void | Promise<void>