aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-05 19:07:26 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-05 19:07:26 +0800
commit4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606 (patch)
treee8f37097a87e1a63811575e954dead91abc62ea5 /test/exchange_wrapper_test.ts
parenteb5c9ae70886cb1a14ae154f363f052a76b24479 (diff)
downloaddexon-sol-tools-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar
dexon-sol-tools-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar.gz
dexon-sol-tools-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar.bz2
dexon-sol-tools-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar.lz
dexon-sol-tools-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar.xz
dexon-sol-tools-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar.zst
dexon-sol-tools-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.zip
Add chai_setup
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 4f3a48b26..ac0a2199e 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -1,9 +1,8 @@
import 'mocha';
-import * as _ from 'lodash';
import * as chai from 'chai';
import * as Web3 from 'web3';
import * as BigNumber from 'bignumber.js';
-import * as dirtyChai from 'dirty-chai';
+import {ChaiSetup} from './chai_setup';
import ChaiBigNumber = require('chai-bignumber');
import promisify = require('es6-promisify');
import {web3Factory} from './utils/web3_factory';
@@ -21,9 +20,7 @@ import {
import {FillScenarios} from './utils/fill_scenarios';
import {TokenUtils} from './utils/token_utils';
-chai.config.includeStack = true;
-chai.use(dirtyChai);
-chai.use(ChaiBigNumber());
+ChaiSetup.configure();
const expect = chai.expect;
const blockchainLifecycle = new BlockchainLifecycle();