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 install --frozen-lockfile
cd web && pnpm lint cd web && pnpm lint
cd web && pnpm typecheck cd web && pnpm typecheck
cd web && node --test tests/*.test.ts cd web && npx tsx --test tests/*.test.ts
cd web && pnpm build cd web && pnpm build
serve: ## Start development server with reload serve: ## Start development server with reload