refactor(test): move toFieldError tests to validation-types.test.ts#443
Conversation
Aligns test file with source module for 1:1 correspondence. toFieldError is defined in validation-types.ts, so its tests belong in validation-types.test.ts rather than errors.test.ts. Signed-off-by: Null;Variant <null@nullvariant.com> 🖥️ IDE: [VS Code](https://code.visualstudio.com/) 🔌 Extension: [Claude Code](https://claude.ai/download) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Model-Raw: claude-opus-4-6
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
🐰 Mimi's Validation Report ✅All checks are looking good! Great job! 🎉 ⏳ Some checks are still running. I will keep watching!
This report was carefully prepared by nullvariant-mimi[bot] |
🦥 Slow's Code Review 😩...yawn... Do I really have to review this?
| Split it up... reading long files is exhausting.
This review was reluctantly filed by nullvariant-slow[bot] |
🕊️ Ciel's Mediation 🌤️*~~ floating down from the clouds ~~ The zoo seems a bit noisy today...* 2 zoo members have reviewed this PR.
⚖️ The zoo has mixed opinions. Some are concerned, some are fine with it. Please review each comment carefully and make the final call.
This mediation was peacefully delivered by nullvariant-ciel[bot] |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|



Summary
toFieldErrortests fromerrors.test.tsto newvalidation-types.test.tstoFieldErrorimport fromerrors.test.tsrunTests.tsAligns test file with source module for 1:1 correspondence (
validation-types.ts→validation-types.test.ts).Test plan
npx tsc --noEmitpassesnpx eslint . --max-warnings=0passesnpm run test:coveragepasses with 100% statement coverage🤖 Generated with Claude Code