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

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