Commit 0df0c5f
fix(test): throw errors instead of warnings for critical patch failures
Convert warnings to errors for critical patches in patchVitestBrowserPackage:
- vendor-aliases plugin injection
- exclude list patching
- BrowserContext alias patching
This ensures build fails immediately if vitest code changes break our patches,
rather than producing confusing runtime errors for users.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5ceef52 commit 0df0c5f
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | | - | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1207 | 1210 | | |
1208 | 1211 | | |
1209 | 1212 | | |
| |||
1225 | 1228 | | |
1226 | 1229 | | |
1227 | 1230 | | |
1228 | | - | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
1229 | 1235 | | |
1230 | 1236 | | |
1231 | 1237 | | |
| |||
1255 | 1261 | | |
1256 | 1262 | | |
1257 | 1263 | | |
1258 | | - | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1259 | 1268 | | |
1260 | 1269 | | |
1261 | 1270 | | |
| |||
0 commit comments