File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react-dom/src/__tests__ Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ let act;
1919let assertConsoleErrorDev ;
2020let assertLog ;
2121let root ;
22- let JSDOM
22+ let JSDOM ;
2323
2424describe ( 'ReactDOMFiber' , ( ) => {
2525 let container ;
@@ -30,7 +30,7 @@ describe('ReactDOMFiber', () => {
3030 // JSDOM needs to be setup with a TextEncoder and TextDecoder when used standalone
3131 // https://github.com/jsdom/jsdom/issues/2524
3232 ( ( ) => {
33- const { TextEncoder, TextDecoder } = require ( 'util' ) ;
33+ const { TextEncoder, TextDecoder} = require ( 'util' ) ;
3434 global . TextEncoder = TextEncoder ;
3535 global . TextDecoder = TextDecoder ;
3636 JSDOM = require ( 'jsdom' ) . JSDOM ;
@@ -1285,7 +1285,7 @@ describe('ReactDOMFiber', () => {
12851285 } ) ;
12861286
12871287 it ( 'should restore selection in the correct window' , async ( ) => {
1288- // creating new JSOM instance to get a second window as window.open is not implemented
1288+ // creating new JSDOM instance to get a second window as window.open is not implemented
12891289 // https://github.com/jsdom/jsdom/blob/c53efc81e75f38a0558fbf3ed75d30b78b4c4898/lib/jsdom/browser/Window.js#L987
12901290 const { window : newWindow } = new JSDOM ( '' ) ;
12911291 // creating a new container since the default cleanup expects the existing container to be in the document
You can’t perform that action at this time.
0 commit comments