aboutsummaryrefslogblamecommitdiffstats
path: root/packages/contracts/test/global_hooks.ts
blob: 670ac3bdff9828f393bea169f4c969720a15dee3 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                       


                                               
                                                                      


                                                       
import { getCoverageSubproviderSingleton } from '@0xproject/dev-utils';

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