Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ describe, expect, it } from
'vitest'
;
2
import
{ extractPath, extractRoot, getPublicURL, getRootPath } from
'@/utils/get-root-path'
;
3
4
Object.defineProperty(window,
'location'
, {
Callers
nothing calls this directly
Calls
5
extractRoot
Function · 0.90
extractPath
Function · 0.90
getRootPath
Function · 0.90
getPublicURL
Function · 0.90
describe
Function · 0.85
Tested by
no test coverage detected