aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/global_hooks.ts
blob: 23a99b47ce342b7de85aa131ca91334dd29f520e (plain) (blame)
1
2
3
4
5
6
7
8
import { getCoverageSubprovider } from '@0xproject/dev-utils';

after('generate coverage report', async () => {
    if (process.env.COVERAGE) {
        const coverageSubprovider = getCoverageSubprovider();
        await coverageSubprovider.writeCoverageAsync();
    }
});