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

Function record

test/fixtures/test-runner/no-isolation/one.test.js:6–9  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

4globalThis.GLOBAL_ORDER = [];
5
6function record(data) {
7 globalThis.GLOBAL_ORDER.push(data);
8 console.log(data);
9}
10
11before(function() {
12 record(`before one: ${this.name}`);

Callers 1

one.test.jsFile · 0.70

Calls 2

pushMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…