mirror of
https://github.com/denoland/deno.git
synced 2024-12-30 02:59:11 -05:00
8b5089e41f
closes #24004
26 lines
539 B
TypeScript
26 lines
539 B
TypeScript
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);
|
|
foo(false);
|
|
});
|
|
|
|
Deno.test("bar", () => {
|
|
bar(false);
|
|
});
|
|
|
|
Deno.test("qux", () => {
|
|
qux(true);
|
|
qux(false);
|
|
});
|
|
|
|
Deno.test("quux", () => {
|
|
quux(false);
|
|
});
|
|
|
|
// 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)");
|