Skip to content

Commit 516c30a

Browse files
committed
refactor: import should without (=)
TICKET: SC-2419
1 parent 89af62d commit 516c30a

File tree

19 files changed

+21
-18
lines changed

19 files changed

+21
-18
lines changed

modules/account-lib/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ import {
1010
BaseMessageBuilderFactory,
1111
BuildMessageError,
1212
MessageStandardType,
13+
MIDNIGHT_TNC_HASH,
1314
} from '@bitgo/sdk-core';
15+
export { MIDNIGHT_TNC_HASH };
16+
1417
import { BaseCoin as CoinConfig, CoinFeature, coins } from '@bitgo/statics';
1518
export { Ed25519BIP32, Eddsa };
1619

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @prettier
33
*/
44

5-
import should = require('should');
5+
import should from 'should';
66
import { randomBytes } from 'crypto';
77
import * as sinon from 'sinon';
88
import { TestBitGo, TestBitGoAPI } from '@bitgo/sdk-test';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import should = require('should');
1+
import should from 'should';
22
import BigNumber from 'bignumber.js';
33
import sinon from 'sinon';
44
import { TestBitGo, TestBitGoAPI } from '@bitgo/sdk-test';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
wrwUser,
2020
wrwUserDkls,
2121
} from '../resources/atom';
22-
import should = require('should');
22+
import should from 'should';
2323

2424
describe('ATOM', function () {
2525
let bitgo: TestBitGoAPI;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import BigNumber from 'bignumber.js';
44
import sinon from 'sinon';
55
import { Baby, Tbaby } from '../../src';
66
import { TEST_SEND_MANY_TX, TEST_SEND_TX, TEST_TX_WITH_MEMO, address } from '../resources/baby';
7-
import should = require('should');
7+
import should from 'should';
88
import utils from '../../src/lib/utils';
99

1010
describe('Babylon', function () {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
TEST_WITHDRAW_REWARDS_TX,
1818
wrwUser,
1919
} from '../resources/bld';
20-
import should = require('should');
20+
import should from 'should';
2121

2222
describe('BLD', function () {
2323
let bitgo: TestBitGoAPI;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
testnetAddress,
2020
wrwUser,
2121
} from '../resources/tcoreum';
22-
import should = require('should');
22+
import should from 'should';
2323

2424
describe('Coreum', function () {
2525
let bitgo: TestBitGoAPI;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import should = require('should');
1+
import should from 'should';
22
import BigNumber from 'bignumber.js';
33
import sinon from 'sinon';
44
import { TestBitGo, TestBitGoAPI } from '@bitgo/sdk-test';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { BitGoAPI } from '@bitgo/sdk-api';
22
import { TestBitGo, TestBitGoAPI } from '@bitgo/sdk-test';
33
import { randomBytes } from 'crypto';
4-
import should = require('should');
4+
import should from 'should';
55
import { Dot, Tdot, KeyPair } from '../../src';
66
import * as testData from '../fixtures';
77
import { chainName, txVersion, genesisHash, specVersion } from '../resources';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
testnetAddress,
1919
wrwUser,
2020
} from '../resources/hash';
21-
import should = require('should');
21+
import should from 'should';
2222

2323
describe('HASH', function () {
2424
let bitgo: TestBitGoAPI;

0 commit comments

Comments
 (0)