Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ getCacheFile
Function
getCacheFile
test/integration/preview-fallback/test/index.test.ts:25–27 ·
view source on GitHub ↗
(path = '')
Source
from the content-addressed store, hash-verified
23
let
previewCookie
24
25
const
getCacheFile = (path =
''
) => {
26
return
join(appDir,
'.next'
,
'server'
,
'pages'
, path)
27
}
28
29
function
runTests(isDev: boolean) {
30
it(
'should get preview cookie correctly'
,
async
() => {
Callers
1
runTests
Function · 0.85
Calls
1
join
Function · 0.90
Tested by
no test coverage detected