Commit 17e7d59
feat(test-cases): promote next-to-tackle to official test cases (#190)
* feat(test-cases): promote next-to-tackle test cases with merger pattern example
Moves 4 previously-staged test cases from test-cases-next-to-tackle/ to test-cases/
after validating they pass with the current codemod. Renames them following the
project's naming convention and selects appropriate adapters:
- wrapper-verboseMergeLocal: Local component without className/style, uses appLikeAdapter
- wrapper-verboseMergeExported: Exported styled component, uses appLikeAdapter
- wrapper-mergerImported: Imported component, uses mergedSx() merger for cleaner output
- transientProp-memberExpression: Member expression (motion.div) with transient props
Also fixes a TypeScript excess-property error in the verbose merge pattern by
extracting sx+className/style merging into a variable instead of spread-nesting,
and deduplicates APP_LIKE_ADAPTER_FIXTURES between fixture-adapters.ts and
regenerate script.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
* refactor: drop sxMerged workaround and prune verbose wrapper fixtures
* test(rendering): add per-case threshold override for transient prop AA noise
---------
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 32abf61 commit 17e7d59
12 files changed
Lines changed: 15 additions & 197 deletions
File tree
- scripts
- src/__tests__
- test-cases-next-to-tackle
- test-cases
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 35 | | |
48 | 36 | | |
49 | 37 | | |
| |||
75 | 63 | | |
76 | 64 | | |
77 | 65 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 66 | + | |
82 | 67 | | |
83 | 68 | | |
84 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
246 | 249 | | |
247 | 250 | | |
248 | 251 | | |
| 252 | + | |
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
| |||
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
279 | | - | |
| 283 | + | |
280 | 284 | | |
281 | 285 | | |
282 | 286 | | |
| |||
441 | 445 | | |
442 | 446 | | |
443 | 447 | | |
444 | | - | |
| 448 | + | |
| 449 | + | |
445 | 450 | | |
446 | 451 | | |
447 | 452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | 450 | | |
473 | 451 | | |
474 | 452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 141 | | |
156 | 142 | | |
157 | 143 | | |
158 | 144 | | |
159 | 145 | | |
160 | 146 | | |
161 | 147 | | |
162 | | - | |
| 148 | + | |
163 | 149 | | |
164 | 150 | | |
165 | 151 | | |
| |||
178 | 164 | | |
179 | 165 | | |
180 | 166 | | |
181 | | - | |
| 167 | + | |
182 | 168 | | |
183 | 169 | | |
184 | 170 | | |
| |||
Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 0 additions & 42 deletions
This file was deleted.
0 commit comments