diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-05 19:07:26 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-05 19:07:26 +0800 |
commit | 4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606 (patch) | |
tree | e8f37097a87e1a63811575e954dead91abc62ea5 /test/token_registry_wrapper_test.ts | |
parent | eb5c9ae70886cb1a14ae154f363f052a76b24479 (diff) | |
download | dexon-0x-contracts-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar.gz dexon-0x-contracts-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.tar.zst dexon-0x-contracts-4dc9a14aaf1c01ba28326af575d1eaf6ac1d4606.zip |
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..cf2fa267b 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 './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; |