Skip to content

Commit 0ee6322

Browse files
committed
fix: unit test
1 parent be78e5d commit 0ee6322

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/controllers/perps/providers/HyperLiquidProvider.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2826,6 +2826,7 @@ describe('HyperLiquidProvider', () => {
28262826
});
28272827

28282828
it('handles missing price data', async () => {
2829+
mockSubscriptionService.getCachedPrice.mockReturnValueOnce(undefined);
28292830
(
28302831
mockClientService.getInfoClient().allMids as jest.Mock
28312832
).mockResolvedValueOnce({});

0 commit comments

Comments
 (0)