Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

setEnvVars.js 402 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
  1. export const TEST_CONFIG_DIR = './.local/jest/config';
  2. process.env.ANTHROPIC_API_KEY = 'foo';
  3. process.env.AZURE_OPENAI_API_HOST = 'azure.openai.host';
  4. process.env.AZURE_OPENAI_API_KEY = 'foo';
  5. process.env.HF_API_TOKEN = 'foo';
  6. process.env.IS_TESTING = 'true';
  7. process.env.OPENAI_API_KEY = 'foo';
  8. process.env.PROMPTFOO_CONFIG_DIR = TEST_CONFIG_DIR;
  9. delete process.env.PROMPTFOO_REMOTE_GENERATION_URL;
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...