aboutsummaryrefslogblamecommitdiffstats
path: root/packages/0x.js/test/utils/chai_setup.ts
blob: 078edd3093bf5d8ef096ee8bc7b9e11c1bb428ff (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                             
                                                    

                                                 
 
                          
                 



                                        

      
import * as chai from 'chai';
import chaiAsPromised = require('chai-as-promised');
import ChaiBigNumber = require('chai-bignumber');
import * as dirtyChai from 'dirty-chai';

export const chaiSetup = {
    configure() {
        chai.config.includeStack = true;
        chai.use(ChaiBigNumber());
        chai.use(dirtyChai);
        chai.use(chaiAsPromised);
    },
};