summaryrefslogtreecommitdiff
path: root/tests/testdata/coverage/no_snaps_included/no_snaps_included_test.ts
blob: b55091a3dc6ee4e3e6029336385a99a54d194e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { assertSnapshot } from "@std/testing/snapshot";
import { truth } from "./no_snaps_included.ts";

Deno.test("the truth", () => {
  truth();
});

// Create snapshot in .snap file, but it shouldn't be in the coverage output
Deno.test("snapshot excluded from coverage", async (context) => {
  await assertSnapshot(context, {});
});