MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / afterEach

Method afterEach

packages/deno/lib.deno.d.ts:1223–1223  ·  view source on GitHub ↗

Register a function to be called after each test in the current scope. * * These functions are run in LIFO order (last in, first out). * * If an exception is raised during execution of this hook, the remaining hooks will not be run and the currently running * test case will

(fn: () => void | Promise<void>)

Source from the content-addressed store, hash-verified

1221 * @category Testing
1222 */
1223 afterEach(fn: () => void | Promise<void>): void;
1224
1225 /** Register a function to be called after all tests in the current scope have finished running.
1226 *

Callers 1

setupSentryTestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected