Initial curated ServiceMap source from 7a0a61232d05ba9097432abef6f7f4102a64d0b8

This commit is contained in:
Public Source Publisher committed 2026-10-01 01:34:38 +02:00
commit 105251b9c8
96 files changed
+23587

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import { describe, expect, it } from "vitest";
import {
applicationLocation,
domainLocation,
topologyRoot,
topologyUp,
} from "./topologyNavigation";
describe("semantic topology navigation", () => {
it("returns components to their parent domain applications", () => {
expect(topologyUp(applicationLocation("domain-monitoring", "app-zabbix"))).toEqual(
domainLocation("domain-monitoring"),
);
});
it("returns a domain to the infrastructure root", () => {
expect(topologyUp(domainLocation("domain-monitoring"))).toEqual(topologyRoot());
});
});