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

std/testing/bdd.ts>beforeAll

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function beforeAll
import { beforeAll } from "https://deno.land/std@0.181.0/testing/bdd.ts";

Run some shared setup before all of the tests in the suite.

Parameters

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