Commit 4e6ab3d
Fix racy import validation in duplicate detection test
setValue types character-by-character, firing async validation on each
keystroke. On slow runners, a validation for partial text can resolve
after the final one, showing "1 invalid" instead of "1 duplicate".
Set the value directly and dispatch a single input event instead.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ebfc231 commit 4e6ab3d
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
208 | 212 | | |
209 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
210 | 218 | | |
211 | 219 | | |
212 | 220 | | |
| |||
0 commit comments