Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude RI HEAR Rebates #186

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cypress/e2e/state-calculator.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ describe('rewiring-america-state-calculator', () => {

cy.selectProjects(['hvac']);

cy.get('rewiring-america-state-calculator')
.shadow()
.contains('Discount off a heat pump');

cy.get('rewiring-america-state-calculator')
.shadow()
.contains('$1,000/ton off an air source heat pump');
Expand Down
2 changes: 1 addition & 1 deletion src/ira-rebates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const hearRebates: {
* As states launch their HEAR and HER programs, we'll want to stop showing this
* generic info to users in those states.
*/
const HEAR_EXCLUDE_STATES = new Set(['NY']);
const HEAR_EXCLUDE_STATES = new Set(['NY', 'RI']);
const HER_EXCLUDE_STATES = new Set(['ME', 'WI']);

export function getRebatesFor(response: APIResponse, msg: MsgFn): IRARebate[] {
Expand Down
Loading