mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 01:41:31 +00:00
35 lines
1.0 KiB
TypeScript
35 lines
1.0 KiB
TypeScript
jest.mock("monaco-editor");
|
|
|
|
import * as ko from "knockout";
|
|
import "./ComponentRegisterer";
|
|
|
|
describe("Component Registerer", () => {
|
|
it("should register input-typeahead component", () => {
|
|
expect(ko.components.isRegistered("input-typeahead")).toBe(true);
|
|
});
|
|
|
|
it("should register error-display component", () => {
|
|
expect(ko.components.isRegistered("error-display")).toBe(true);
|
|
});
|
|
|
|
it("should register graph-style component", () => {
|
|
expect(ko.components.isRegistered("graph-style")).toBe(true);
|
|
});
|
|
|
|
it("should register json-editor component", () => {
|
|
expect(ko.components.isRegistered("json-editor")).toBe(true);
|
|
});
|
|
|
|
it("should registeradd-collection-pane component", () => {
|
|
expect(ko.components.isRegistered("add-collection-pane")).toBe(true);
|
|
});
|
|
|
|
it("should register graph-styling-pane component", () => {
|
|
expect(ko.components.isRegistered("graph-styling-pane")).toBe(true);
|
|
});
|
|
|
|
it("should register dynamic-list component", () => {
|
|
expect(ko.components.isRegistered("dynamic-list")).toBe(true);
|
|
});
|
|
});
|