Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/adobe/react-spectrum
/ ssrSetup.js
File
ssrSetup.js
packages/dev/test-utils/src/ssrSetup.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
{Worker} = require(
'worker_threads'
);
2
3
module.exports =
async
() => {
4
global.__SSR_SERVER__ =
new
Worker(__dirname +
'/ssrWorker.js'
);
Callers
nothing calls this directly
Calls
1
require
Function · 0.70
Tested by
no test coverage detected