Skip to content

Commit

Permalink
test: update SDK tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Sep 26, 2024
1 parent 8fdf105 commit 0bb2c86
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/js-dash-sdk/src/SDK/Client/Client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('Dash - Client', function suite() {
testHDKey = 'tprv8ZgxMBicQKsPeGi4CikhacVPz6UmErenu1PoD3S4XcEDSPP8auRaS8hG3DQtsQ2i9HACgohHwF5sgMVJNksoKqYoZbis8o75Pp1koCme2Yo';

client = new Client({
network: 'testnet',
wallet: {
HDPrivateKey: testHDKey,
},
Expand Down Expand Up @@ -77,7 +78,7 @@ describe('Dash - Client', function suite() {
it('should be instantiable', () => {
client = new Client();
expect(client).to.exist;
expect(client.network).to.be.equal('testnet');
expect(client.network).to.be.equal('mainnet');
expect(client.getDAPIClient().constructor.name).to.be.equal('DAPIClient');
});

Expand Down Expand Up @@ -111,7 +112,7 @@ describe('Dash - Client', function suite() {
wallet: {
mnemonic: testMnemonic,
offlineMode: true,
network: 'evonet',
network: 'mainnet',
},
});

Expand Down

0 comments on commit 0bb2c86

Please sign in to comment.