MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / resolvePathFromTestRoot

Function resolvePathFromTestRoot

test/utils.ts:115–117  ·  view source on GitHub ↗
(...args: string[])

Source from the content-addressed store, hash-verified

113export const TEST_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)));
114
115export function resolvePathFromTestRoot(...args: string[]): string {
116 return path.resolve(TEST_ROOT, ...args);
117}
118
119// Tracked temporary directories.
120export function newTempDir() {

Callers 4

filter-tests.tsFile · 0.85
demangler-tests.tsFile · 0.85
cfg-tests.tsFile · 0.85
sponsors-test.tsFile · 0.85

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected