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

Function afterEach

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

Source from the content-addressed store, hash-verified

1015 * @param fn The function to implement the shared teardown behavior
1016 */
1017export function afterEach<T>(
1018 fn: (this: T) => void | Promise<void>,
1019) {
1020 addHook("afterEach", fn);
1021}
1022
1023/** The arguments for a DescribeFunction. */
1024export type DescribeArgs<T> =

Callers 1

bdd_test.tsFile · 0.90

Calls 1

addHookFunction · 0.85

Tested by

no test coverage detected