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

Function after

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

Source from the content-addressed store, hash-verified

1011 * `Deno.test.afterAll()` (Deno 2.5+) instead.
1012 */
1013export function after<T>(
1014 fn: (this: T) => void | Promise<void>,
1015) {
1016 afterAll(fn);
1017}
1018
1019/**
1020 * Run some shared setup before each test in the suite.

Callers 1

bdd_test.tsFile · 0.90

Calls 1

afterAllFunction · 0.85

Tested by

no test coverage detected