Skip to content

Commit b1b1940

Browse files
committed
Fix inline script content
Test in —prod actually executes the boostrapScriptContent code
1 parent d5c6bd2 commit b1b1940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ describe('ReactDOMFizzServer', () => {
593593
</div>,
594594
{
595595
nonce: 'R4nd0m',
596-
bootstrapScriptContent: 'INIT();',
596+
bootstrapScriptContent: 'function noop(){}',
597597
bootstrapScripts: ['init.js'],
598598
bootstrapModules: ['init.mjs'],
599599
},

0 commit comments

Comments
 (0)