Add regression coverage for formatOnBlur submit field state#1090
Add regression coverage for formatOnBlur submit field state#1090erikras-richard-agent wants to merge 1 commit intomainfrom
Conversation
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA regression test is added to validate that ChangesRegression Test for Field State Availability
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
formatOnBlursubmit handling when a field's state is no longer available.beforeSubmitruns after the field state has been removed.Verification
NODE_ENV=test npx jest src/Field.test.js -t "should not throw when formatOnBlur beforeSubmit" --runInBandyarn testFixes #981
Summary by CodeRabbit