Skip to content

Commit

Permalink
fix: broken test for SmartTransactionsOptInModal
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteflower committed May 11, 2024
1 parent f7069ee commit c5e6e16
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,10 @@ describe('SmartTransactionsOptInModal', () => {
const description1 = getByText(strings('whats_new.stx.description_1'));
expect(description1).toBeDefined();

const description2 = getByText(strings('whats_new.stx.description_2'));
expect(description2).toBeDefined();

const description3 = getByText(strings('whats_new.stx.description_3'), {
const description2 = getByText(strings('whats_new.stx.description_2'), {
exact: false,
});
expect(description3).toBeDefined();
expect(description2).toBeDefined();

const primaryButton = getByText(strings('whats_new.stx.primary_button'));
expect(primaryButton).toBeDefined();
Expand Down

0 comments on commit c5e6e16

Please sign in to comment.