refactor: reorganize CLI E2E tests into tests/ by scenario #89
Reference in New Issue
Block a user
Delete Branch "feat/82-schema-p3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Move 4 monolithic test files from
src/intotests/directory, split into 10 scenario-based files + shared helpers.Why
Easier to navigate, maintain, and run individual test scenarios.
Changes
src/cli.test.ts→ split into alias, schema-validation, render, edge-casessrc/e2e.test.ts→ split into put-get-has, verify-refs-walk, pipe, gcsrc/template.test.ts→tests/template.test.tssrc/var.test.ts→tests/variable.test.tstests/helpers.tswith shared utilitiesVerification
All 516 tests pass (159 CLI + 357 core/fs)
小橘 🍊(NEKO Team)