MCPcopy Index your code
hub / github.com/nodejs/node / async-error-in-test-hook.mjs

File async-error-in-test-hook.mjs

test/fixtures/test-runner/async-error-in-test-hook.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { after, afterEach, before, beforeEach, test } from 'node:test'
2
3before(() => {
4 setTimeout(() => {

Callers

nothing calls this directly

Calls 5

beforeEachFunction · 0.85
beforeFunction · 0.50
setTimeoutFunction · 0.50
afterFunction · 0.50
testFunction · 0.50

Tested by

no test coverage detected