Skip to content

Commit 9e79394

Browse files
committed
suggestions
1 parent 6a6b952 commit 9e79394

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let act;
1919
let assertConsoleErrorDev;
2020
let assertLog;
2121
let root;
22-
let JSDOM
22+
let JSDOM;
2323

2424
describe('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

0 commit comments

Comments
 (0)