Skip to content

Commit dff0b81

Browse files
author
Sebastian Silbermann
committed
Restore comments
1 parent e270e1e commit dff0b81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react/src/__tests__/ReactContextValidator-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ describe('ReactContextValidator', () => {
193193
'getChildContext() on ComponentA or remove childContextTypes from it.',
194194
);
195195

196+
// Warnings should be deduped by component typ
196197
let container = document.createElement('div');
197198
let root = ReactDOMClient.createRoot(container);
198199
await act(() => {
@@ -439,6 +440,7 @@ describe('ReactContextValidator', () => {
439440
'The legacy contextTypes property will be ignored.',
440441
);
441442

443+
// Warnings should be deduped by component type
442444
let container = document.createElement('div');
443445
let root = ReactDOMClient.createRoot(container);
444446
await act(() => {

0 commit comments

Comments
 (0)