We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2db53e0 commit a0a6889Copy full SHA for a0a6889
packages/react-router/test/client/react-exports.test.ts
@@ -76,7 +76,7 @@ describe('Re-exports from React SDK', () => {
76
});
77
78
expect(WrappedComponent).toBeDefined();
79
- expect(typeof WrappedComponent).toBe('function');
+ expect(typeof WrappedComponent).toBe('object');
80
expect(WrappedComponent.displayName).toBe('errorBoundary(TestComponent)');
81
82
const { getByText } = render(React.createElement(WrappedComponent));
0 commit comments