aboutsummaryrefslogtreecommitdiffstats
path: root/test/0x.js_test.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-06 20:05:01 +0800
committerGitHub <noreply@github.com>2017-06-06 20:05:01 +0800
commit2eb99f46f53984c1a54315f87059ef18b9d06349 (patch)
tree15258b1412d7658e1844f54954c84d2fc2c6865a /test/0x.js_test.ts
parent0b700deb01ea044d53ae80ee483aa75262dcff07 (diff)
parentfee0e5bfc7338f368f83f1e22a19d56943bd421b (diff)
downloaddexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar
dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.gz
dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.bz2
dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.lz
dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.xz
dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.zst
dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.zip
Merge pull request #35 from 0xProject/chai-setup
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..42dbeee9f 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 './utils/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', () => {