pulse-dashboard
Version:
A Next.js Dashboard application for real-time monitoring and historical analysis of Playwright test executions. This component provides the UI for visualizing Playwright test results and can be run as a standalone CLI tool.
15 lines (14 loc) • 534 B
JavaScript
;
let ReactDOMServer;
try {
ReactDOMServer = require('react-dom/server.edge');
} catch (error) {
if (error.code !== 'MODULE_NOT_FOUND' && error.code !== 'ERR_PACKAGE_PATH_NOT_EXPORTED') {
throw error;
}
// In React versions without react-dom/server.edge, the browser build works in Node.js.
// The Node.js build does not support renderToReadableStream.
ReactDOMServer = require('react-dom/server.browser');
}
module.exports = ReactDOMServer;
//# sourceMappingURL=ReactDOMServerPages.js.map