From de1679c965d37869424e037ebb3cc1629c3c2244 Mon Sep 17 00:00:00 2001 From: Torres-ssf Date: Mon, 20 Jan 2025 09:11:01 -0300 Subject: [PATCH] fix test --- packages/account/src/providers/provider.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/account/src/providers/provider.test.ts b/packages/account/src/providers/provider.test.ts index ba023f7d69..8ac220f1b3 100644 --- a/packages/account/src/providers/provider.test.ts +++ b/packages/account/src/providers/provider.test.ts @@ -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, @@ -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, {