14 lines
537 B
TypeScript
14 lines
537 B
TypeScript
import { describe, expect, it } from "@suaveplan/testing/runner";
|
|
|
|
describe("network-bootstrap dep-graph", () => {
|
|
it("must not have circular dependencies", async () => {
|
|
const mod = await import("../src/index.js");
|
|
expect(mod).toBeDefined();
|
|
expect(mod.BootstrapPlugin).toBeDefined();
|
|
expect(mod.DiscoveryChain).toBeDefined();
|
|
expect(mod.PeerCache).toBeDefined();
|
|
expect(mod.createBootstrapMiddleware).toBeDefined();
|
|
expect(mod.NET_BOOTSTRAP_CODES).toBeDefined();
|
|
});
|
|
});
|