MCPcopy Create free account
hub / github.com/Martian-Engineering/pr-sheriff / readFixture

Function readFixture

test/github_fetch.test.mjs:12–14  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

10const __dirname = path.dirname(fileURLToPath(import.meta.url));
11
12function readFixture(name) {
13 return fs.readFileSync(path.join(__dirname, 'fixtures', name), 'utf-8');
14}
15
16function makeStubRunner(stdoutResponses) {
17 let i = 0;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected