Repository navigation
Commit db0e0c9
test(web): palette focus test mocks the thread menu's dependencies
The palette now builds thread menu items through useThreadActionMenu, so
the focus test's mocks need useNewThreadHandler and useRouter, and an
activeThread of null to match the real hook's type.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 966db3e commit db0e0c9
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
0 commit comments