Skip to content

Commit

Permalink
fix error message for test
Browse files Browse the repository at this point in the history
  • Loading branch information
mondaychen committed Apr 1, 2022
1 parent f178c71 commit 69a8e16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2145,7 +2145,7 @@ describe('InspectedElement', () => {
expect(value).toBe(null);

const error = errorBoundaryInstance.state.error;
expect(error.message).toBe('Error rendering inspected component');
expect(error.message).toBe('Expected');
expect(error.stack).toContain('inspectHooksOfFiber');
});

Expand Down

0 comments on commit 69a8e16

Please sign in to comment.