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

Function afterEach

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

Source from the content-addressed store, hash-verified

1075 * or `Deno.test.afterEach()` (Deno 2.5+) instead.
1076 */
1077export function afterEach<T>(
1078 fn: (this: T) => void | Promise<void>,
1079) {
1080 addHook("afterEach", fn);
1081}
1082
1083/**
1084 * The arguments for a DescribeFunction.

Callers 1

bdd_test.tsFile · 0.90

Calls 1

addHookFunction · 0.85

Tested by

no test coverage detected