Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Torres-ssf committed Jan 20, 2025
1 parent 6428260 commit de1679c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/account/src/providers/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ import {
import { mockIncompatibleVersions } from '../../test/utils/mockIncompabileVersions';
import { setupTestProviderAndWallets, launchNode, TestMessage } from '../test-utils';

import type { GqlPageInfo } from './__generated__/operations';
import type { Coin } from './coin';
import type { Message } from './message';
import type { ChainInfo, CursorPaginationArgs, NodeInfo } from './provider';
import Provider, {
BALANCES_PAGE_SIZE_LIMIT,
BLOCKS_PAGE_SIZE_LIMIT,
DEFAULT_RESOURCE_CACHE_TTL,
GAS_USED_MODIFIER,
Expand Down Expand Up @@ -495,7 +497,7 @@ describe('Provider', () => {
.spyOn(Provider.prototype, 'fetchChainAndNodeInfo')
.mockResolvedValue({
chain: {} as ChainInfo,
nodeInfo: {} as NodeInfo,
nodeInfo: { nodeVersion: '0.41.0' } as NodeInfo,
});

const provider = new Provider(providerUrl, {
Expand Down

0 comments on commit de1679c

Please sign in to comment.