1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/tests/testdata/coverage/no_transpiled_lines/repro_test.ts
Colin Ihrig d55444b41c
fix(coverage): do not report transpiled files with no lines (#14699)
This commit omits files from the coverage report that have no
lines of code to report coverage for.

Fixes: https://github.com/denoland/deno/issues/14683
2022-05-22 10:45:22 -04:00

7 lines
190 B
TypeScript

import { assertStrictEquals, TestInterface } from "./index.ts";
Deno.test(function noTranspiledLines() {
const foo: TestInterface = { id: "id" };
assertStrictEquals(foo.id, "id");
});