Initial Commit
This commit is contained in:
18
packages/foundation/data/validation/tests/dep-graph.test.ts
Normal file
18
packages/foundation/data/validation/tests/dep-graph.test.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { describe, expect, it } from "@suaveplan/testing/runner";
|
||||
import pkg from "../package.json";
|
||||
|
||||
describe("dep-graph", () => {
|
||||
it("runtime @suaveplan/* deps are exactly the expected set", {
|
||||
timeout: 5000,
|
||||
}, () => {
|
||||
const deps = Object.keys(pkg.dependencies ?? {})
|
||||
.filter((d) => d.startsWith("@suaveplan/"))
|
||||
.sort();
|
||||
|
||||
expect(deps).toEqual([
|
||||
"@suaveplan/error",
|
||||
"@suaveplan/events",
|
||||
"@suaveplan/types",
|
||||
]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user