Test: add pragma allowlist secret annotation for fake API key

This commit is contained in:
affsantos 2026-03-14 09:23:38 +01:00
parent 1ba8567d4d
commit 60bed6a0e7
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ describe("getApiKeyForModel", () => {
it("resolveEnvApiKey('google-vertex') returns GOOGLE_CLOUD_API_KEY when set", async () => {
await withEnvAsync(
{
GOOGLE_CLOUD_API_KEY: "AIzaSyTest1234567890",
GOOGLE_CLOUD_API_KEY: "AIzaSyTest1234567890", // pragma: allowlist secret
},
async () => {
const resolved = resolveEnvApiKey("google-vertex");