test: tighten kilocode env source assertion

This commit is contained in:
Shakker
2026-05-10 23:17:29 +01:00
parent 30d7a92f87
commit 6c1262b62f

View File

@@ -152,7 +152,7 @@ describe("Kilo Gateway provider config", () => {
const result = resolveEnvApiKey("kilocode");
expect(result).toMatchObject({
apiKey: "test-kilo-key",
source: expect.stringContaining("KILOCODE_API_KEY"),
source: "env: KILOCODE_API_KEY",
});
} finally {
vi.unstubAllEnvs();