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/token_registry_wrapper_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/token_registry_wrapper_test.ts')
-rw-r--r-- | test/token_registry_wrapper_test.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/token_registry_wrapper_test.ts b/test/token_registry_wrapper_test.ts index 195b2f205..33c4a8054 100644 --- a/test/token_registry_wrapper_test.ts +++ b/test/token_registry_wrapper_test.ts @@ -1,18 +1,15 @@ import * as _ from 'lodash'; import 'mocha'; import * as chai from 'chai'; -import chaiAsPromised = require('chai-as-promised'); -import * as Web3 from 'web3'; +import {chaiSetup} from './utils/chai_setup'; import {web3Factory} from './utils/web3_factory'; import {ZeroEx} from '../src/0x.js'; import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; -import {Token} from '../src/types'; import {SchemaValidator} from '../src/utils/schema_validator'; import {tokenSchema} from '../src/schemas/token_schema'; -chai.config.includeStack = true; +chaiSetup.configure(); const expect = chai.expect; -chai.use(chaiAsPromised); const blockchainLifecycle = new BlockchainLifecycle(); const TOKEN_REGISTRY_SIZE_AFTER_MIGRATION = 7; |