diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-06 20:05:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 20:05:01 +0800 |
commit | 2eb99f46f53984c1a54315f87059ef18b9d06349 (patch) | |
tree | 15258b1412d7658e1844f54954c84d2fc2c6865a /test/0x.js_test.ts | |
parent | 0b700deb01ea044d53ae80ee483aa75262dcff07 (diff) | |
parent | fee0e5bfc7338f368f83f1e22a19d56943bd421b (diff) | |
download | dexon-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.ts | 9 |
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', () => { |