Initial curated ServiceMap source from 7a0a61232d05ba9097432abef6f7f4102a64d0b8
This commit is contained in:
commit
105251b9c8
96 files changed
+23587
No files matched your search
@@ -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());
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user