(label, componentPath, tokens, note)
| 6 | import { estimateTokenCount, sumTokenCounts } from "../lib/tokens.js"; |
| 7 | |
| 8 | function createComponent(label, componentPath, tokens, note) { |
| 9 | return { |
| 10 | label, |
| 11 | path: componentPath, |
| 12 | tokens, |
| 13 | note, |
| 14 | }; |
| 15 | } |
| 16 | |
| 17 | function buildBudgetBucket(value, thresholds, components) { |
| 18 | const [goodMax, moderateMax, heavyMax] = thresholds; |
no outgoing calls
no test coverage detected