test: align runtime schema registry mock count

This commit is contained in:
Peter Steinberger
2026-04-26 04:25:41 +01:00
parent 924e132d96
commit f4e6322649

View File

@@ -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 });
}