test(server): drop removed service proxy constructor slots

Removing the serviceProxy and serviceProxyPublicBaseUrl parameters shifted the positional VoiceAssistantWebSocketServer arguments in four test harnesses, so providerSnapshotManager and the push sender landed in the wrong slots. The runtime store also goes back to storing entries as given, since port is optional and every reader checks its type.
This commit is contained in:
Mohamed Boudra
2026-11-30 18:10:25 +01:00
parent 4e74b9d093
commit 5b2f1df4fd
5 changed files with 1 additions and 9 deletions
@@ -337,10 +337,8 @@ function createVoiceAssistantWebSocketServer(params: {
undefined,
undefined,
undefined,
undefined,
createProviderSnapshotManagerStub().manager,
undefined,
undefined,
broker,
);
}
@@ -164,7 +164,6 @@ function createServer(
undefined,
undefined,
undefined,
undefined,
sender,
createProviderSnapshotManagerStub().manager,
);
@@ -330,7 +330,6 @@ function createServer(options?: {
undefined,
undefined,
undefined,
undefined,
createProviderSnapshotManagerStub().manager,
);
}
@@ -196,7 +196,6 @@ function createServer(
undefined,
undefined,
undefined,
undefined,
sender,
createProviderSnapshotManagerStub().manager,
);
@@ -56,10 +56,7 @@ export class WorkspaceScriptRuntimeStore {
this.removeScriptFromWorkspaceIndex(previous.workspaceId, previous.scriptName);
}
this.entries.set(entryKey, {
...entry,
port: entry.port ?? null,
});
this.entries.set(entryKey, { ...entry });
this.addScriptToWorkspaceIndex(workspaceKey, entry.scriptName);
this.changed();
}