Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 | 32x 32x | import type { CoverageArtifact } from "#layers/snapshot/shared/types/CoverageArtifact.ts";
const [artifact = null] = Object.values(
import.meta.glob<CoverageArtifact>("~~/.report/coverage.json", {
eager: true,
import: "default",
}),
);
/** The collected coverage artifact, bundled at build time; null when `.report/` has none. */
export const coverageArtifact = (): CoverageArtifact | null => artifact;
|