aboutsummaryrefslogblamecommitdiffstats
path: root/packages/metacoin/test/utils/chai_setup.ts
blob: 1a873309325cf91211e4b8994cbef6445c9aec10 (plain) (tree)
1
2
3
4
5
6
7





                                                    
                       





                                        
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(): void {
        chai.config.includeStack = true;
        chai.use(ChaiBigNumber());
        chai.use(dirtyChai);
        chai.use(chaiAsPromised);
    },
};