mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-08 00:10:21 +08:00
chore: add frontend unit tests to lint-frontend make target
Added 'node --test tests/*.test.ts' to the lint-frontend target to ensure frontend unit tests are run as part of the CI/quality checks workflow. This ensures: - Math formula normalization tests run before build - Tests are validated alongside linting and type checking - All 19 frontend tests pass before deployment Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Willem Jiang
parent
779de40f10
commit
9b127c55f2
3
Makefile
3
Makefile
@@ -16,10 +16,11 @@ format: ## Format code using ruff
|
||||
lint: ## Lint and fix code using ruff
|
||||
uv run ruff check --fix --select I --config pyproject.toml .
|
||||
|
||||
lint-frontend: ## Lint frontend code and check build
|
||||
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 && pnpm build
|
||||
|
||||
serve: ## Start development server with reload
|
||||
|
||||
Reference in New Issue
Block a user