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

Function beforeAll

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

Source from the content-addressed store, hash-verified

866 * @param fn The function to implement the setup behavior.
867 */
868export function beforeAll<T>(
869 fn: (this: T) => void | Promise<void>,
870) {
871 addHook("beforeAll", fn);
872}
873
874/**
875 * Alias of {@linkcode beforeAll}

Callers 2

bdd_test.tsFile · 0.90
beforeFunction · 0.85

Calls 1

addHookFunction · 0.85

Tested by

no test coverage detected