Commit c7cf7f9
fix(test): fix FlagsTab test mock pattern matching and role selector
- Sort mock URL patterns by length to match more specific patterns first
- Fix dashboard link test to use 'link' role instead of 'button'
- Remove unused mockEntity import
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 0f1a9e6 commit c7cf7f9
File tree
2 files changed
+8
-5
lines changed- src
- __tests__/fixtures
- components/FlagsTab/__tests__
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
179 | 178 | | |
180 | 179 | | |
0 commit comments