Repository navigation
Commit 7b20f2d
committed
test(app-shell): read the launcher entries through an effect callback, not a reassigned outer variable
Lint UI refused the hook test's `seen = useLauncherApps(...)` under
react-hooks/globals; the probe now hands its entries to a vi.fn from an effect.
Claude-Session: https://claude.ai/code/session_01JQwxbYwBbR8jCpWPE5Kosz
Co-authored-by: Claude <noreply@anthropic.com>1 parent 8cc708a commit 7b20f2d
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
0 commit comments