Commit e578506
test(react-overflow): fix useOverflowItem registration test
The cleanup now invokes the unregister function returned by registerItem, so
the mocked registerItem must return one too (the real one always does).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 266a042 commit e578506
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments