MCPcopy Create free account
hub / github.com/denoland/std / beforeAll

Function beforeAll

testing/bdd.ts:913–917  ·  view source on GitHub ↗
(
  fn: (this: T) => void | Promise<void>,
)

Source from the content-addressed store, hash-verified

911 * `Deno.test.beforeAll()` (Deno 2.5+) instead.
912 */
913export function beforeAll<T>(
914 fn: (this: T) => void | Promise<void>,
915) {
916 addHook("beforeAll", fn);
917}
918
919/**
920 * Alias of {@linkcode beforeAll}

Callers 2

bdd_test.tsFile · 0.90
beforeFunction · 0.85

Calls 1

addHookFunction · 0.85

Tested by

no test coverage detected