Skip to content

Commit 822f4e6

Browse files
authored
Merge pull request #6898 from BitGo/build-fix
fix(sdk-coin-flrp): fix build due to dependency conflict
2 parents 30c4502 + 28fa71b commit 822f4e6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

modules/sdk-coin-flrp/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
]
4444
},
4545
"devDependencies": {
46-
"chai": "^4.4.1",
47-
"@types/chai": "^4.3.16",
4846
"@types/bn.js": "^5.2.0",
4947
"@bitgo/sdk-test": "^9.0.5",
5048
"@bitgo/sdk-api": "^1.67.0"

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { expect } from 'chai';
21
import { BitGoBase } from '@bitgo/sdk-core';
32
import { TestBitGo, TestBitGoAPI } from '@bitgo/sdk-test';
43
import { BitGoAPI } from '@bitgo/sdk-api';
@@ -21,15 +20,15 @@ describe('Flrp', function () {
2120
it('createInstance returns a Flrp instance', function () {
2221
const staticsCoin = coins.get('flrp');
2322
const coin = Flrp.createInstance(bitgo as unknown as BitGoBase, staticsCoin);
24-
expect(coin).to.be.instanceOf(Flrp);
23+
coin.should.be.instanceOf(Flrp);
2524
});
2625

2726
it('multiple createInstance calls produce distinct objects', function () {
2827
const sc = coins.get('flrp');
2928
const a = Flrp.createInstance(bitgo as unknown as BitGoBase, sc);
3029
const b = Flrp.createInstance(bitgo as unknown as BitGoBase, sc);
31-
expect(a).to.not.equal(b);
32-
expect(a).to.be.instanceOf(Flrp);
33-
expect(b).to.be.instanceOf(Flrp);
30+
a.should.not.equal(b);
31+
a.should.be.instanceOf(Flrp);
32+
b.should.be.instanceOf(Flrp);
3433
});
3534
});

0 commit comments

Comments
 (0)