Add includeStack config to chai setup so that we get stackTraces
This commit is contained in:
@@ -10,6 +10,7 @@ import {constants} from './utils/constants';
|
||||
import {web3Factory} from './utils/web3_factory';
|
||||
import {Order} from '../src/types';
|
||||
|
||||
chai.config.includeStack = true;
|
||||
chai.use(ChaiBigNumber());
|
||||
chai.use(dirtyChai);
|
||||
const expect = chai.expect;
|
||||
|
@@ -13,6 +13,7 @@ import {ExchangeContractErrs, SignedOrder, Token} from '../src/types';
|
||||
import {FillScenarios} from './utils/fill_scenarios';
|
||||
import {TokenUtils} from './utils/token_utils';
|
||||
|
||||
chai.config.includeStack = true;
|
||||
chai.use(dirtyChai);
|
||||
chai.use(ChaiBigNumber());
|
||||
const expect = chai.expect;
|
||||
|
@@ -10,6 +10,7 @@ import {Token} from '../src/types';
|
||||
import {SchemaValidator} from '../src/utils/schema_validator';
|
||||
import {tokenSchema} from '../src/schemas/token_schema';
|
||||
|
||||
chai.config.includeStack = true;
|
||||
const expect = chai.expect;
|
||||
chai.use(chaiAsPromised);
|
||||
const blockchainLifecycle = new BlockchainLifecycle();
|
||||
|
@@ -8,6 +8,7 @@ import {ZeroEx} from '../src/0x.js';
|
||||
import {ZeroExError, Token} from '../src/types';
|
||||
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
|
||||
|
||||
chai.config.includeStack = true;
|
||||
const expect = chai.expect;
|
||||
const blockchainLifecycle = new BlockchainLifecycle();
|
||||
|
||||
|
Reference in New Issue
Block a user