Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore comments
  • Loading branch information
Sebastian Silbermann committed Feb 14, 2024
commit dff0b812edb128c984e3fc70c674c7037ebf4c38
2 changes: 2 additions & 0 deletions packages/react/src/__tests__/ReactContextValidator-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ describe('ReactContextValidator', () => {
'getChildContext() on ComponentA or remove childContextTypes from it.',
);

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

// Warnings should be deduped by component type
let container = document.createElement('div');
let root = ReactDOMClient.createRoot(container);
await act(() => {
Expand Down