Switch CatalogEntity and CatalogCategory abstract classes (#2612)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-04-23 16:08:21 -04:00
1 parent 4d10e07087
commit 339502cf4f
23 files changed
+194 -184

No files matched your search

@@ -1,12 +1,10 @@
import { observable, reaction } from "mobx";
import { WebLink } from "../catalog-entities";
import { CatalogEntityRegistry } from "../catalog-entity-registry";
import { CatalogEntityRegistry } from "../catalog";
describe("CatalogEntityRegistry", () => {
let registry: CatalogEntityRegistry;
const entity = new WebLink({
apiVersion: "entity.k8slens.dev/v1alpha1",
kind: "WebLink",
metadata: {
uid: "test",
name: "test-link",
@@ -17,7 +15,7 @@ describe("CatalogEntityRegistry", () => {
url: "https://k8slens.dev"
},
status: {
phase: "ok"
phase: "valid"
}
});