Skip to content

Commit 9678571

Browse files
committed
Fix unit and integration tests
1 parent 14cf27f commit 9678571

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/integration/confirmations/transactions/increase-allowance.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('ERC20 increaseAllowance Confirmation', () => {
213213
'simulation-token-value',
214214
);
215215
expect(simulationSection).toContainElement(spendingCapValue);
216-
expect(spendingCapValue).toHaveTextContent('30,000');
216+
expect(spendingCapValue).toHaveTextContent('3');
217217
expect(simulationSection).toHaveTextContent('0x07614...3ad68');
218218
});
219219

@@ -301,7 +301,7 @@ describe('ERC20 increaseAllowance Confirmation', () => {
301301
);
302302
expect(spendingCapSection).toContainElement(spendingCapGroup);
303303
expect(spendingCapGroup).toHaveTextContent(tEn('spendingCap') as string);
304-
expect(spendingCapGroup).toHaveTextContent('30,000');
304+
expect(spendingCapGroup).toHaveTextContent('3');
305305

306306
const spendingCapGroupTooltip = await screen.findByTestId(
307307
'confirmation__approve-spending-cap-group-tooltip',

ui/pages/confirmations/components/confirm/info/__snapshots__/info.test.tsx.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ exports[`Info renders info section for approve request 1`] = `
8080
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"
8181
data-testid="simulation-token-value"
8282
>
83-
#1
83+
#0.0001
8484
</p>
8585
</div>
8686
<div

0 commit comments

Comments
 (0)