summaryrefslogtreecommitdiff
path: root/packages/cli/src/config/auth.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/config/auth.test.ts')
-rw-r--r--packages/cli/src/config/auth.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/config/auth.test.ts b/packages/cli/src/config/auth.test.ts
index a4c0cf25..96defb1e 100644
--- a/packages/cli/src/config/auth.test.ts
+++ b/packages/cli/src/config/auth.test.ts
@@ -40,7 +40,7 @@ describe('validateAuthMethod', () => {
it('should return an error message if GEMINI_API_KEY is not set', () => {
expect(validateAuthMethod(AuthType.USE_GEMINI)).toBe(
- 'GEMINI_API_KEY environment variable not found. Add that to your .env and try again, no reload needed!',
+ 'GEMINI_API_KEY environment variable not found. Add that to your environment and try again (no reload needed if using .env)!',
);
});
});
@@ -59,10 +59,10 @@ describe('validateAuthMethod', () => {
it('should return an error message if no required environment variables are set', () => {
expect(validateAuthMethod(AuthType.USE_VERTEX_AI)).toBe(
- 'Must specify GOOGLE_GENAI_USE_VERTEXAI=true and either:\n' +
+ 'When using Vertex AI, you must specify either:\n' +
'• GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION environment variables.\n' +
'• GOOGLE_API_KEY environment variable (if using express mode).\n' +
- 'Update your .env and try again, no reload needed!',
+ 'Update your environment and try again (no reload needed if using .env)!',
);
});
});