Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(control-api): reset cfg.registryAuthEnabled in afterEach + widen cfg type
Jose Ramirezf3bddb364f0c
diff --git a/control-api/package-lock.json b/control-api/package-lock.jsonindex 10b6fa044..4ca2905b2 100644--- a/control-api/package-lock.json+++ b/control-api/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-api",- "version": "0.1.378",+ "version": "0.1.379","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-api",- "version": "0.1.378",+ "version": "0.1.379","dependencies": {"@clerum/image-policy": "file:../packages/image-policy","@clerum/llm-providers": "file:../packages/llm-providers",diff --git a/control-api/package.json b/control-api/package.jsonindex 488fe3784..a393c8217 100644--- a/control-api/package.json+++ b/control-api/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-api",- "version": "0.1.378",+ "version": "0.1.379","description": "Internal Clerum control plane REST API + UI for managing CRDs and secrets","main": "dist/main.js","engines": {diff --git a/control-api/test/services.registryConnectionDb.test.ts b/control-api/test/services.registryConnectionDb.test.tsindex f3fa6a6ca..213b872e9 100644--- a/control-api/test/services.registryConnectionDb.test.ts+++ b/control-api/test/services.registryConnectionDb.test.ts@@ -30,7 +30,7 @@ const { cfg } = vi.hoisted(() => ({registryClientSecret: '',registryUrl: 'https://registry.evenfire.ai',oauthEncryptionKey: '',- } as Record<string, string>,+ } as Record<string, string | boolean>,}))vi.mock('../src/config.js', () => ({ config: cfg }))@@ -92,6 +92,7 @@ afterEach(() => {cfg.registryClientSecret = ''cfg.registryUrl = 'https://registry.evenfire.ai'cfg.oauthEncryptionKey = ''+ cfg.registryAuthEnabled = false})describe('resolveVoucherSigningMaterial — managed', () => {