Skip to content

Commit

Permalink
Fix unit and integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwalsh0 committed Dec 19, 2024
1 parent 14cf27f commit 9678571
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 @@ -213,7 +213,7 @@ describe('ERC20 increaseAllowance Confirmation', () => {
'simulation-token-value',
);
expect(simulationSection).toContainElement(spendingCapValue);
expect(spendingCapValue).toHaveTextContent('30,000');
expect(spendingCapValue).toHaveTextContent('3');
expect(simulationSection).toHaveTextContent('0x07614...3ad68');
});

Expand Down Expand Up @@ -301,7 +301,7 @@ describe('ERC20 increaseAllowance Confirmation', () => {
);
expect(spendingCapSection).toContainElement(spendingCapGroup);
expect(spendingCapGroup).toHaveTextContent(tEn('spendingCap') as string);
expect(spendingCapGroup).toHaveTextContent('30,000');
expect(spendingCapGroup).toHaveTextContent('3');

const spendingCapGroupTooltip = await screen.findByTestId(
'confirmation__approve-spending-cap-group-tooltip',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ exports[`Info renders info section for approve request 1`] = `
class="mm-box mm-text mm-text--body-md mm-text--text-align-center mm-box--padding-inline-2 mm-box--align-items-center mm-box--color-text-default mm-box--background-color-background-alternative mm-box--rounded-xl"
data-testid="simulation-token-value"
>
#1
#0.0001
</p>
</div>
<div
Expand Down

0 comments on commit 9678571

Please sign in to comment.