Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eggjs/egg
/ getFilepath
Function
getFilepath
test/utils.ts:130–132 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
128
}
129
130
export
function
getFilepath(name: string) {
131
return
path.join(fixtures, name);
132
}
133
134
export
function
getJSON(name: string) {
135
return
JSON.parse(readFileSync(getFilepath(name),
'utf-8'
));
Callers
15
egg.test.ts
File · 0.85
getJSON
Function · 0.85
application.test.ts
File · 0.85
agent.test.ts
File · 0.85
cluster-client-error.test.ts
File · 0.85
master.test.ts
File · 0.85
cookies.test.ts
File · 0.85
view.test.ts
File · 0.85
logger.test.ts
File · 0.85
load_plugin.test.ts
File · 0.85
config_loader.test.ts
File · 0.85
development.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
1
getLogContent
Function · 0.68