Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
9
export
function
getFixturePath(fixtureName: string): string {
10
return
path.join(__dirname,
'../../fixtures'
, fixtureName);
11
}
Callers
15
policy-display.spec.ts
File · 0.90
policy.spec.ts
File · 0.90
snyk-test-pyproject.spec.ts
File · 0.90
runScript
Function · 0.90
remediation-based-format-issues.spec.ts
File · 0.90
display-result.spec.ts
File · 0.90
fix.spec.ts
File · 0.90
convert-legacy-test-result-to-scan-result.spec.ts
File · 0.90
convert-legacy-test-result-to-new.spec.ts
File · 0.90
convert-legacy-tests-results-to-fix-entities.spec.ts
File · 0.90
snyk-test-pnpm-project.spec.ts
File · 0.90
https.spec.ts
File · 0.90
Calls
no outgoing calls
Tested by
3
runScript
Function · 0.72
loadFixture
Function · 0.72
testPrep
Function · 0.72