Skip to content

Commit

Permalink
Merge pull request #4413 from BitGo/WP-1692-fix-zeta-tests
Browse files Browse the repository at this point in the history
fix(sdk-coin-zeta): fix zeta tests
  • Loading branch information
alebusse committed Apr 9, 2024
1 parent 6b8c294 commit b6ab39f
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 b6ab39f

Please sign in to comment.