1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-30 11:16:38 -05:00
denoland-deno/cli/tests/test_coverage.ts
Casper Beyer 755cfa98eb
feat(unstable): deno test --coverage (#6901)
This commit adds basic support for collecting coverage
data using "deno test". 

Currently the report is only a text added to the end
of output from "deno test".
2020-09-13 15:01:30 +02:00

5 lines
110 B
TypeScript

import { returnsHi } from "./subdir/mod1.ts";
Deno.test("returnsHiSuccess", function () {
returnsHi();
});