Skip to content

Commit 6a6bd67

Browse files
Update test import path to reflect new Pro directory structure
- Modified the import statement in `registerServerComponent.client.test.jsx` to point to the updated location of `client.tsx` within the Pro directory. - This change ensures that the test suite remains functional and aligned with recent structural adjustments in the codebase.
1 parent 5bc4bd1 commit 6a6bd67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_package/tests/registerServerComponent.client.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ enableFetchMocks();
4444

4545
expect(() => {
4646
// Re-import to trigger the check
47-
jest.requireActual('../src/wrapServerComponentRenderer/client.tsx');
47+
jest.requireActual('../src/pro/wrapServerComponentRenderer/client.tsx');
4848
}).toThrow('React.use is not defined');
4949
});
5050

0 commit comments

Comments
 (0)