From cb5c4773718229ac0746db6fe0988953fe9cac27 Mon Sep 17 00:00:00 2001 From: Willem Jiang Date: Tue, 21 Oct 2025 10:05:50 +0800 Subject: [PATCH] Using tsx to run the ts unit tests (#638) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e949664..5c04c0b 100644 --- a/Makefile +++ b/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 \ No newline at end of file + uv run pytest --cov=src tests/ --cov-report=term-missing --cov-report=xml