mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:10:45 +00:00
test: align runtime schema registry mock count
This commit is contained in:
@@ -243,7 +243,7 @@ describe("loadGatewayRuntimeConfigSchema", () => {
|
||||
loadGatewayRuntimeConfigSchema();
|
||||
loadGatewayRuntimeConfigSchema();
|
||||
|
||||
expect(mockLoadPluginManifestRegistry).toHaveBeenCalledTimes(6);
|
||||
expect(mockLoadPluginManifestRegistry).toHaveBeenCalledTimes(3);
|
||||
for (const call of mockLoadPluginManifestRegistry.mock.calls) {
|
||||
expect(call[0]).toMatchObject({ cache: false });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user