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(); } });