Commit cbe216e
committed
Refactor tests to use array assertions instead of snapshots
Updated multiple test files to replace inline snapshot assertions with direct array comparisons for toolbar node content and console log outputs. Removed obsolete Jest snapshot file. These changes improve test clarity and maintainability.1 parent 3484361 commit cbe216e
File tree
4 files changed
+18
-56
lines changed- packages
- faustwp-cli/tests/healthCheck
- __snapshots__
- faustwp-core/tests/components/Toolbar
4 files changed
+18
-56
lines changedLines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | | - | |
71 | | - | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
Lines changed: 9 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 132 | + | |
139 | 133 | | |
140 | 134 | | |
141 | 135 | | |
| |||
159 | 153 | | |
160 | 154 | | |
161 | 155 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 156 | + | |
169 | 157 | | |
170 | 158 | | |
171 | 159 | | |
| |||
187 | 175 | | |
188 | 176 | | |
189 | 177 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 178 | + | |
198 | 179 | | |
199 | 180 | | |
200 | 181 | | |
| |||
218 | 199 | | |
219 | 200 | | |
220 | 201 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 202 | + | |
228 | 203 | | |
229 | 204 | | |
230 | 205 | | |
| |||
244 | 219 | | |
245 | 220 | | |
246 | 221 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 222 | + | |
254 | 223 | | |
255 | 224 | | |
256 | 225 | | |
| |||
276 | 245 | | |
277 | 246 | | |
278 | 247 | | |
279 | | - | |
| 248 | + | |
280 | 249 | | |
281 | 250 | | |
282 | 251 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 252 | + | |
291 | 253 | | |
292 | 254 | | |
293 | 255 | | |
| |||
318 | 280 | | |
319 | 281 | | |
320 | 282 | | |
321 | | - | |
| 283 | + | |
322 | 284 | | |
323 | 285 | | |
324 | 286 | | |
325 | 287 | | |
326 | 288 | | |
327 | | - | |
| 289 | + | |
328 | 290 | | |
0 commit comments