Skip to content

Commit 662f9b5

Browse files
committed
Fix test that's now works properly
1 parent 8ab5e1f commit 662f9b5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,10 +1318,8 @@ describe('ReactDOMFizzServer', () => {
13181318
expect(ref.current).toBe(null);
13191319
expect(getVisibleChildren(container)).toEqual(
13201320
<div>
1321-
Loading A
1322-
{/* // TODO: This is incorrect. It should be "Loading B" but Fizz SuspenseList
1323-
// isn't implemented fully yet. */}
1324-
<span>B</span>
1321+
{'Loading A'}
1322+
{'Loading B'}
13251323
</div>,
13261324
);
13271325

@@ -1335,11 +1333,9 @@ describe('ReactDOMFizzServer', () => {
13351333
// We haven't resolved yet.
13361334
expect(getVisibleChildren(container)).toEqual(
13371335
<div>
1338-
Loading A
1339-
{/* // TODO: This is incorrect. It should be "Loading B" but Fizz SuspenseList
1340-
// isn't implemented fully yet. */}
1341-
<span>B</span>
1342-
Loading C
1336+
{'Loading A'}
1337+
{'Loading B'}
1338+
{'Loading C'}
13431339
</div>,
13441340
);
13451341

0 commit comments

Comments
 (0)