Skip to content

Commit 7b8964c

Browse files
committed
chore: fix prettier formatting issues in ReactErrorBoundary.test.js
1 parent bae1180 commit 7b8964c

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

test/client/clients/ReactErrorBoundary.test.js

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ describe("createOverlay", () => {
1212

1313
beforeEach(() => {
1414
global.document = {
15-
createElement: jest.fn(() => {return {
16-
style: {},
17-
appendChild: jest.fn(),
18-
addEventListener: jest.fn(),
19-
contentDocument: {
20-
createElement: jest.fn(() => {return { style: {}, appendChild: jest.fn() }}),
21-
body: { appendChild: jest.fn() },
22-
},
23-
}}),
15+
createElement: jest.fn(() => {
16+
return {
17+
style: {},
18+
appendChild: jest.fn(),
19+
addEventListener: jest.fn(),
20+
contentDocument: {
21+
createElement: jest.fn(() => {
22+
return { style: {}, appendChild: jest.fn() };
23+
}),
24+
body: { appendChild: jest.fn() },
25+
},
26+
};
27+
}),
2428
body: { appendChild: jest.fn(), removeChild: jest.fn() },
2529
};
2630
global.window = {

0 commit comments

Comments
 (0)