Commit 02b2bd1
committed
fix(budgets): latency shouldBlock uses mode only, not severity
The latency budget should block (throw) in strict mode and warn in
permissive mode, regardless of severity. The previous OR logic caused
permissive mode with error severity to throw, breaking the integration
test expectation that permissive mode always warns.1 parent ea99b96 commit 02b2bd1
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
238 | 237 | | |
239 | 238 | | |
240 | 239 | | |
241 | | - | |
| 240 | + | |
242 | 241 | | |
243 | 242 | | |
244 | 243 | | |
| |||
0 commit comments