Skip to content

Commit

Permalink
add patterns to skip
Browse files Browse the repository at this point in the history
  • Loading branch information
kalisjoshua committed May 5, 2023
1 parent f65aa5d commit 30c3832
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
12 changes: 11 additions & 1 deletion _tools/check_dependencies.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@ import { assertEquals } from "../testing/asserts.ts";

import { report } from "https://deno.land/x/seeker@1.0.0-beta-3/mod.ts";

const { circular, orphans } = report(".");
const { circular, orphans } = report(".",{
includeDirs: false,
match: [/\.ts$/],
skip: [
/_tools/,
/bench\.ts/,
/example/,
/snapshot_preview1_test_runner\.ts$/,
/testdata/,
],
});

Deno.test("dependency graph inspection - count of circular dependencies", function () {
assertEquals(circular.length, 0);
Expand Down
3 changes: 0 additions & 3 deletions _tools/mod_a.ts

This file was deleted.

3 changes: 0 additions & 3 deletions _tools/mod_b.ts

This file was deleted.

0 comments on commit 30c3832

Please sign in to comment.