MCPcopy
hub / github.com/directus/directus / get-root-path.test.ts

File get-root-path.test.ts

app/src/utils/get-root-path.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest';
2import { extractPath, extractRoot, getPublicURL, getRootPath } from '@/utils/get-root-path';
3
4Object.defineProperty(window, 'location', {

Callers

nothing calls this directly

Calls 5

extractRootFunction · 0.90
extractPathFunction · 0.90
getRootPathFunction · 0.90
getPublicURLFunction · 0.90
describeFunction · 0.85

Tested by

no test coverage detected