Skip to content

Commit

Permalink
fix(sdk-coin-zec): remove sdk-test usage
Browse files Browse the repository at this point in the history
TICKET: WP-338
  • Loading branch information
zahin-mohammad committed Jul 25, 2023
1 parent 0fdd790 commit 2b8d6e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
3 changes: 1 addition & 2 deletions modules/sdk-coin-zec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"@bitgo/utxo-lib": "^9.2.0"
},
"devDependencies": {
"@bitgo/sdk-api": "^1.11.2",
"@bitgo/sdk-test": "^1.2.27"
"@bitgo/sdk-api": "^1.11.2"
}
}
13 changes: 5 additions & 8 deletions modules/sdk-coin-zec/test/unit/index.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
import 'should';
import { BitGoAPI } from '@bitgo/sdk-api';
import { TestBitGo, TestBitGoAPI } from '@bitgo/sdk-test';
import { Zec, Tzec } from '../../src';

describe('Zec', function () {
const coinName = 'tzec';
let bitgo: TestBitGoAPI;
let bitgo: BitGoAPI;
let basecoin;

before(function () {
bitgo = TestBitGo.decorate(BitGoAPI, {
env: 'mock',
});
bitgo.initializeTestVars();
bitgo.safeRegister('zec', Zec.createInstance);
bitgo.safeRegister('tzec', Tzec.createInstance);
bitgo = new BitGoAPI({ env: 'mock' });
bitgo.register('zec', Zec.createInstance);
bitgo.register('tzec', Tzec.createInstance);
basecoin = bitgo.coin(coinName);
});

Expand Down
3 changes: 0 additions & 3 deletions modules/sdk-coin-zec/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
{
"path": "../sdk-core"
},
{
"path": "../sdk-test"
},
{
"path": "../utxo-lib"
}
Expand Down

0 comments on commit 2b8d6e8

Please sign in to comment.