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

Function fixturesPath

test/common/fixtures.js:9–12  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

7const fixturesDir = path.join(__dirname, '..', 'fixtures');
8
9function fixturesPath(...args) {
10 args.unshift(fixturesDir);
11 return Reflect.apply(path.join, this, args);
12}
13
14function fixturesFileURL(...args) {
15 return pathToFileURL(Reflect.apply(fixturesPath, this, args));

Callers 3

readFixtureSyncFunction · 0.85
readFixtureKeyFunction · 0.85
utf8TestTextPathFunction · 0.85

Calls 2

unshiftMethod · 0.80
applyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…