// A coverage run starts from nothing: what an earlier run added is not this one's (#390). import fs from 'node:fs'; import { coverageOptions } from './coverage.ts'; export default function setup() { if (process.env.IPX_COVERAGE) fs.rmSync(coverageOptions.outputDir!, { recursive: true, force: true }); }