aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_registry_wrapper_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/token_registry_wrapper_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/token_registry_wrapper_test.ts')
-rw-r--r--test/token_registry_wrapper_test.ts7
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;