Skip to content

Commit ad4dbe1

Browse files
refactor: update test cases to use rscPayloadGenerationUrlPath for consistency in RailsContext
1 parent 432cad1 commit ad4dbe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node_package/tests/registerServerComponent.client.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ enableFetchMocks();
6363

6464
registerServerComponent('TestComponent');
6565
const railsContext = {
66-
rscPayloadGenerationUrl: rscPayloadGenerationUrlPath,
66+
rscPayloadGenerationUrlPath,
6767
componentSpecificMetadata: {
6868
renderRequestId: 'test-render-request-id',
6969
},
@@ -173,7 +173,7 @@ enableFetchMocks();
173173

174174
registerServerComponent('TestComponent');
175175
railsContext = {
176-
rscPayloadGenerationUrl: 'rsc-render',
176+
rscPayloadGenerationUrlPath: 'rsc-render',
177177
componentSpecificMetadata: {
178178
renderRequestId: 'test-render-request-id',
179179
},

0 commit comments

Comments
 (0)