2023-12-08 02:54:52 -05:00
|
|
|
import { foo } from "./foo.ts";
|
|
|
|
import { bar } from "./bar.ts";
|
|
|
|
import { qux } from "./baz/qux.ts";
|
|
|
|
import { quux } from "./baz/quux.ts";
|
|
|
|
|
|
|
|
Deno.test("foo", () => {
|
|
|
|
foo(true);
|
2023-12-11 22:42:57 -05:00
|
|
|
foo(false);
|
2023-12-08 02:54:52 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
Deno.test("bar", () => {
|
|
|
|
bar(false);
|
|
|
|
});
|
|
|
|
|
|
|
|
Deno.test("qux", () => {
|
|
|
|
qux(true);
|
2023-12-11 22:42:57 -05:00
|
|
|
qux(false);
|
2023-12-08 02:54:52 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
Deno.test("quux", () => {
|
|
|
|
quux(false);
|
|
|
|
});
|
2024-05-28 10:01:32 -04:00
|
|
|
|
|
|
|
// Function constructor or eval function generates a new script source internally.
|
|
|
|
// This call ensures that the coverage data for the eval script source is not generated.
|
|
|
|
eval("console.log(1)");
|