MCPcopy
hub / github.com/snyk/cli / getFixturePath

Function getFixturePath

test/jest/util/getFixturePath.ts:9–11  ·  view source on GitHub ↗
(fixtureName: string)

Source from the content-addressed store, hash-verified

7 * other tests. Only use this when createProject is unfeasible.
8 */
9export function getFixturePath(fixtureName: string): string {
10 return path.join(__dirname, '../../fixtures', fixtureName);
11}

Calls

no outgoing calls

Tested by 3

runScriptFunction · 0.72
loadFixtureFunction · 0.72
testPrepFunction · 0.72