mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-25 19:28:23 +00:00
Using tsx to run the ts unit tests (#638)
This commit is contained in:
parent
d30c4d00d3
commit
cb5c477371
4
Makefile
4
Makefile
@ -20,7 +20,7 @@ lint-frontend: ## Lint frontend code, run tests, and check build
|
||||
cd web && pnpm install --frozen-lockfile
|
||||
cd web && pnpm lint
|
||||
cd web && pnpm typecheck
|
||||
cd web && node --test tests/*.test.ts
|
||||
cd web && npx tsx --test tests/*.test.ts
|
||||
cd web && pnpm build
|
||||
|
||||
serve: ## Start development server with reload
|
||||
@ -33,4 +33,4 @@ langgraph-dev: ## Start langgraph development server
|
||||
uvx --refresh --from "langgraph-cli[inmem]" --with-editable . --python 3.12 langgraph dev --allow-blocking
|
||||
|
||||
coverage: ## Run tests with coverage report
|
||||
uv run pytest --cov=src tests/ --cov-report=term-missing --cov-report=xml
|
||||
uv run pytest --cov=src tests/ --cov-report=term-missing --cov-report=xml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user