aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/test/chai_setup.ts
blob: a281bab6cca84cae42c4248c0a7df59ef63336d4 (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);
    },
};