Skip to content

Commit 69a8e16

Browse files
committed
fix error message for test
1 parent f178c71 commit 69a8e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools-shared/src/__tests__/inspectedElement-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,7 @@ describe('InspectedElement', () => {
21452145
expect(value).toBe(null);
21462146

21472147
const error = errorBoundaryInstance.state.error;
2148-
expect(error.message).toBe('Error rendering inspected component');
2148+
expect(error.message).toBe('Expected');
21492149
expect(error.stack).toContain('inspectHooksOfFiber');
21502150
});
21512151

0 commit comments

Comments
 (0)