mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
Using tsx to run the ts unit tests (#638)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user