test: add coverage for sql-storage.ts type-guard branches - #30167
test: add coverage for sql-storage.ts type-guard branches#30167EmaToplek wants to merge 1 commit into
Conversation
Signed-off-by: EmaToplek <toplek.ema0213@outlook.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe SQL storage contract tests now cover ChangesSQL storage contracts
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This PR only adds coverage for SQL storage type guards and does not change production behavior; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Adds test coverage for
isSqlAuthoringContributionsandisMaterializedSqlNamespacetype guards inpackages/2-sql/1-core/contract/src/ir/sql-storage.ts.sql-storage.ts: 100% statements/functions/lines, 94.73% branches (up from 70%/47%/60%/74%)Related to the M9 target-extensible-IR coverage gap noted in
coverage.config.json(TML-2521).Summary by CodeRabbit