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

Function after

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

Source from the content-addressed store, hash-verified

957 * @param fn The function to implement the teardown behavior.
958 */
959export function after<T>(
960 fn: (this: T) => void | Promise<void>,
961) {
962 afterAll(fn);
963}
964
965/**
966 * 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