Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Jan 5, 2025
1 parent c342d89 commit 841a9d7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2401,9 +2401,7 @@ describe('ReactErrorBoundaries', () => {
}).rejects.toThrow(
'Element type is invalid: ' +
'expected a string (for built-in components) or a ' +
'class/function (for composite components) but got: undefined. ' +
"You likely forgot to export your component from the file it's defined in, " +
'or you might have mixed up default and named imports.',
'class/function (for composite components) but got: undefined.',
);
if (!gate('enableOwnerStacks')) {
assertConsoleErrorDev(
Expand Down

0 comments on commit 841a9d7

Please sign in to comment.