MCPcopy 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

1const {Worker} = require('worker_threads');
2
3module.exports = async () => {
4 global.__SSR_SERVER__ = new Worker(__dirname + '/ssrWorker.js');

Callers

nothing calls this directly

Calls 1

requireFunction · 0.70

Tested by

no test coverage detected