Skip to content

Commit 8c1b45d

Browse files
committed
fix: ut
1 parent 3a86475 commit 8c1b45d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/components/UI/TokenDetails/hooks/useTokenActions.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ describe('useTokenActions', () => {
655655
chainId: defaultToken.chainId,
656656
symbol: defaultToken.symbol,
657657
}),
658+
'Buy',
658659
);
659660
expect(mockGoToBuy).not.toHaveBeenCalled();
660661
});
@@ -692,6 +693,7 @@ describe('useTokenActions', () => {
692693
expect.objectContaining({
693694
address: defaultToken.address,
694695
}),
696+
'Buy',
695697
);
696698
});
697699

@@ -743,6 +745,7 @@ describe('useTokenActions', () => {
743745
chainId: '0x1',
744746
symbol: 'ETH',
745747
}),
748+
'Buy',
746749
);
747750
expect(mockGoToBuy).not.toHaveBeenCalled();
748751
});
@@ -767,6 +770,7 @@ describe('useTokenActions', () => {
767770
symbol: defaultToken.symbol,
768771
}),
769772
undefined,
773+
'Sell',
770774
);
771775
});
772776
});

0 commit comments

Comments
 (0)