Skip to content

Commit 3b94ba2

Browse files
committed
fix(rsc-mf): parse host proxy action ids from bundled register calls
1 parent eea5004 commit 3b94ba2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/rsc-mf/host/server/modern.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const getProxyActionIds = async () => {
6666
> = {};
6767
Object.values(REMOTE_ACTION_ID_TO_PROXY_EXPORT).forEach(exportName => {
6868
const pattern = new RegExp(
69-
`registerServerReference\\\\(${exportName},\\\\s*"([^"]+)"`,
69+
`registerServerReference\\\\)\\\\(${exportName},\\\\s*"([^"]+)"`,
7070
);
7171
const match = serverBundleCode.match(pattern);
7272
if (match?.[1]) {

0 commit comments

Comments
 (0)