Skip to content

Commit a0a6889

Browse files
committed
memo returns an object
1 parent 2db53e0 commit a0a6889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-router/test/client/react-exports.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('Re-exports from React SDK', () => {
7676
});
7777

7878
expect(WrappedComponent).toBeDefined();
79-
expect(typeof WrappedComponent).toBe('function');
79+
expect(typeof WrappedComponent).toBe('object');
8080
expect(WrappedComponent.displayName).toBe('errorBoundary(TestComponent)');
8181

8282
const { getByText } = render(React.createElement(WrappedComponent));

0 commit comments

Comments
 (0)