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

Function afterAll

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

Source from the content-addressed store, hash-verified

977 * `Deno.test.afterAll()` (Deno 2.5+) instead.
978 */
979export function afterAll<T>(
980 fn: (this: T) => void | Promise<void>,
981) {
982 addHook("afterAll", fn);
983}
984
985/**
986 * Alias of {@linkcode afterAll}.

Callers 2

bdd_test.tsFile · 0.90
afterFunction · 0.85

Calls 1

addHookFunction · 0.85

Tested by

no test coverage detected