MCPcopy Index your code
hub / github.com/nodejs/node / after

Method after

lib/internal/test_runner/test.js:407–415  ·  view source on GitHub ↗
(fn, options)

Source from the content-addressed store, hash-verified

405 }
406
407 after(fn, options) {
408 this.#test.createHook('after', fn, {
409 __proto__: null,
410 ...options,
411 parent: this.#test,
412 hookType: 'after',
413 loc: getCallerLocation(),
414 });
415 }
416
417 beforeEach(fn, options) {
418 this.#test.createHook('beforeEach', fn, {

Callers

nothing calls this directly

Calls 1

createHookMethod · 0.80

Tested by

no test coverage detected