Using tsx to run the ts unit tests (#638)

This commit is contained in:
Willem Jiang 2025-10-21 10:05:50 +08:00 committed by GitHub
parent 5d7fec9651
commit 5617e9b497
1 changed files with 2 additions and 2 deletions

View File

@ -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