Closed matelau closed 4 months ago
Issue reported here: https://rewiringameri-g3x1100.slack.com/archives/C04E4THEGMT/p1717445434575539
Incentive link: https://www.consumersenergy.com/residential/save-money-and-energy/rebates/heating-and-cooling
Maybe worth a unit test somewhere that amount.maximum >= amount.number (in isIncentiveAmountValid in schemas.test.ts)?
amount.maximum >= amount.number
isIncentiveAmountValid
Good call! I just added the test and found a couple others that were out of spec.
Issue reported here: https://rewiringameri-g3x1100.slack.com/archives/C04E4THEGMT/p1717445434575539
Incentive link: https://www.consumersenergy.com/residential/save-money-and-energy/rebates/heating-and-cooling