Skip to content

Commit d36de56

Browse files
authored
Merge pull request #5732 from BitGo/WIN-4315
fix(sdk-coin-tao): prevent real api calls by using beforeEach for stubbing
2 parents d2f53ba + 4415e0e commit d36de56

File tree

1 file changed

+1
-1
lines changed
  • modules/sdk-coin-tao/test/unit

1 file changed

+1
-1
lines changed

modules/sdk-coin-tao/test/unit/tao.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('Tao:', function () {
2727
let headerInfoCB;
2828
let getFeeCB;
2929

30-
before(function () {
30+
beforeEach(function () {
3131
accountInfoCB = sandBox.stub(Tao.prototype, 'getAccountInfo' as keyof Tao);
3232
headerInfoCB = sandBox.stub(Tao.prototype, 'getHeaderInfo' as keyof Tao);
3333
getFeeCB = sandBox.stub(Tao.prototype, 'getFee' as keyof Tao);

0 commit comments

Comments
 (0)