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

Method run

lib/internal/test_runner/test.js:1716–1727  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

1714 this.hookType = hookType;
1715 }
1716 run(args) {
1717 if (this.error && !this.outerSignal?.aborted) {
1718 this.passed = false;
1719 this.error = null;
1720 this.abortController.abort();
1721 this.abortController = new AbortController();
1722 this.signal = this.abortController.signal;
1723 }
1724
1725 this.#args = args;
1726 return super.run();
1727 }
1728
1729 getCtx() {
1730 return this.parentTest.getCtx();

Callers 1

createHookMethod · 0.95

Calls 2

abortMethod · 0.65
runMethod · 0.45

Tested by

no test coverage detected