Skip to content

Commit

Permalink
test: update jest test & snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Dec 11, 2023
1 parent f28fcee commit d9eb040
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/containers/RegistrationLoginButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const RegistrationLoginButtonsComponent: React.FunctionComponent<Props> =
</>
) : (
<>
<p>In 2024, CIIP applications will be accepted from May 21 to June 38.</p>
<p>In 2024, CIIP applications will be accepted from May 21 to June 28.</p>
<p>
Outside of this period, you may still log in to view your submitted CIIP
applications and submit any changes requested by the Climate Action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("The RegistrationLoginButtons component", () => {

expect(component).toMatchSnapshot();
expect(component.find("Card p").first().text()).toStartWith(
"In 2022, CIIP applications will be accepted from May 24 to June 30."
"In 2024, CIIP applications will be accepted from May 21 to June 28."
);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports[`The RegistrationLoginButtons component should render a message about th
Apply for the CleanBC Industrial Incentive Program (CIIP)
</CardTitle>
<p>
In 2022, CIIP applications will be accepted from May 24 to June 30.
In 2024, CIIP applications will be accepted from May 21 to June 28.
</p>
<p>
Outside of this period, you may still log in to view your submitted CIIP applications and submit any changes requested by the Climate Action Secretariat.
Expand Down

0 comments on commit d9eb040

Please sign in to comment.