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 d30c4d00d3
commit cb5c477371

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