Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elazzabi committed Dec 10, 2024
1 parent 986086f commit 992a7ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe( 'Progressive Onboarding Eligibility Modal', () => {

const queryHeading = () =>
screen.queryByRole( 'heading', {
name: 'Youre ready to sell.',
name: "You're ready to accept payments!",
} );

expect( queryHeading() ).toBeInTheDocument();
Expand Down Expand Up @@ -83,7 +83,7 @@ describe( 'Progressive Onboarding Eligibility Modal', () => {

user.click(
screen.getByRole( 'button', {
name: 'Start receiving payouts',
name: 'Set up deposits',
} )
);

Expand Down
2 changes: 1 addition & 1 deletion client/overview/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ describe( 'Overview page', () => {
render( <OverviewPage /> );

expect(
screen.getByText( 'Youre ready to sell.' )
screen.getByText( "You're ready to accept payments!" )
).toBeInTheDocument();
} );

Expand Down

0 comments on commit 992a7ee

Please sign in to comment.