fix: update evaluator tests to use proper AnswerAction type (#58)

* fix: update evaluator tests to use proper AnswerAction type

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* fix: increase token budget and mock external calls in agent test

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* test: add Docker build and container tests

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* feat: add health check endpoint for Docker container verification

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* chore: add Docker test script to package.json

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* ci: add Docker test step to CI workflow

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* fix: remove unused stdout variable in docker test

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

close #53 

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Han Xiao <han.xiao@jina.ai>
This commit is contained in:
devin-ai-integration[bot]
2025-02-11 19:54:27 +08:00
committed by GitHub
parent 8af35c6640
commit 2efae96073
6 changed files with 110 additions and 5 deletions

View File

@@ -18,7 +18,8 @@
"start": "ts-node src/server.ts",
"eval": "ts-node src/evals/batch-evals.ts",
"test": "jest --testTimeout=30000",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"test:docker": "jest src/__tests__/docker.test.ts --testTimeout=300000"
},
"keywords": [],
"author": "Jina AI",