aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/test/chai_setup.ts
blob: 941a141d598a6e5aad4de7a02bf90e547d93b6de (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() {
        chai.config.includeStack = true;
        chai.use(dirtyChai);
        chai.use(chaiAsPromised);
    },
};