test: rebuild the view-skeleton suite on ADR 0009 tiers (task 0003)
Guard the CLI entry's program.parse() behind import.meta.main so the command module can be imported without running the CLI, then rebuild the deleted suite across the three tiers ADR 0009 defines: - unit: parse (core) and render (bin), asserted on return values - integration: the view command function, asserted on its Result - e2e: the kitchen binary as a subprocess (exit codes, streams, ANSI suppression, errors, --help) Drop the stale test-support.ts coverage ignore and refresh the task's implementation notes to describe the tiered suite.
This commit is contained in:
@@ -4,5 +4,3 @@
|
||||
coverageReporter = ["text", "lcov"]
|
||||
coverageDir = "coverage"
|
||||
coverageSkipTestFiles = true
|
||||
# test-support.ts is test scaffolding, not product code; keep it out of the numbers.
|
||||
coveragePathIgnorePatterns = ["**/test-support.ts"]
|
||||
|
||||
Reference in New Issue
Block a user