Skip to content

Commit

Permalink
fix(sdk-coin-zeta): fix zeta tests
Browse files Browse the repository at this point in the history
fixed zeta tests that had the wrong node url mock

WP-1692

TICKET: WP-1692
  • Loading branch information
alebusse committed Apr 9, 2024
1 parent 6b8c294 commit 05532ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/sdk-coin-zeta/test/unit/zeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { CosmosTransaction, RedelegateMessage, SendMessage } from '@bitgo/abstra
import { BitGoAPI } from '@bitgo/sdk-api';
import { EcdsaRangeProof, EcdsaTypes } from '@bitgo/sdk-lib-mpc';
import { TestBitGo, TestBitGoAPI, mockSerializedChallengeWithProofs } from '@bitgo/sdk-test';
import { Environments } from '@bitgo/sdk-core';
import { coins } from '@bitgo/statics';
import BigNumber from 'bignumber.js';
import { beforeEach } from 'mocha';
Expand Down Expand Up @@ -356,7 +357,7 @@ describe('Zeta', function () {
const testChainId = 'test-chain';

beforeEach(() => {
nock('https://rpc.ankr.com/http/zetachain_athens_testnet')
nock(Environments.test.zetaNodeUrl)
.get('/cosmos/auth/v1beta1/accounts/' + wrwUser.senderAddress)
.reply(200, mockAccountDetailsResponse);

Expand Down Expand Up @@ -431,7 +432,7 @@ describe('Zeta', function () {
const testChainId = 'test-chain';

beforeEach(() => {
nock('https://rpc.ankr.com/http/zetachain_athens_testnet')
nock(Environments.test.zetaNodeUrl)
.get('/cosmos/auth/v1beta1/accounts/' + wrwUser.senderAddress)
.reply(200, mockAccountDetailsResponse);

Expand Down

0 comments on commit 05532ab

Please sign in to comment.