mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
test(gateway): assert applied reload result
This commit is contained in:
@@ -385,7 +385,7 @@ describe("mcp connection resolver helpers", () => {
|
||||
requestRecoveryRestart,
|
||||
});
|
||||
|
||||
await expect(gatewayReload.applyHotReload(reloadPlan, nextConfig)).resolves.toBeUndefined();
|
||||
await expect(gatewayReload.applyHotReload(reloadPlan, nextConfig)).resolves.toBe("applied");
|
||||
expect(refreshPreparedModelRuntimeSnapshots).toHaveBeenCalledWith(nextConfig, {
|
||||
allowGatewaySubagentBinding: true,
|
||||
catalogMode: "static",
|
||||
|
||||
Reference in New Issue
Block a user