mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
test: add environment variables to evaluator test setup
Co-Authored-By: sha.zhou@jina.ai <sha.zhou@jina.ai>
This commit is contained in:
@@ -8,7 +8,12 @@ describe('evaluateAnswer', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
jest.resetModules();
|
||||
process.env = { ...originalEnv };
|
||||
process.env = {
|
||||
...originalEnv,
|
||||
LLM_PROVIDER: 'openai',
|
||||
OPENAI_API_KEY: 'test-openai-key',
|
||||
JINA_API_KEY: 'test-jina-key'
|
||||
};
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user