aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/test/chai_setup.ts
blob: 6c24dc222528dbaaacc9e98f2c37c6694c126c34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import * as chai from 'chai';
import chaiAsPromised = require('chai-as-promised');
import * as dirtyChai from 'dirty-chai';

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