aboutsummaryrefslogtreecommitdiffstats
path: root/test/0x.js_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/0x.js_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/0x.js_test.ts')
-rw-r--r--test/0x.js_test.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 8686b42eb..d2a36e1c4 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -1,18 +1,15 @@
import * as _ from 'lodash';
import * as chai from 'chai';
+import {ChaiSetup} from './chai_setup';
import 'mocha';
import * as BigNumber from 'bignumber.js';
-import ChaiBigNumber = require('chai-bignumber');
-import * as dirtyChai from 'dirty-chai';
import * as Sinon from 'sinon';
import {ZeroEx} from '../src/0x.js';
import {constants} from './utils/constants';
import {web3Factory} from './utils/web3_factory';
-import {Order, DoneCallback} from '../src/types';
+import {Order} from '../src/types';
-chai.config.includeStack = true;
-chai.use(ChaiBigNumber());
-chai.use(dirtyChai);
+ChaiSetup.configure();
const expect = chai.expect;
describe('ZeroEx library', () => {