mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-22 10:21:37 +00:00
15 lines
394 B
TypeScript
15 lines
394 B
TypeScript
jest.mock("monaco-editor");
|
|
|
|
import * as ko from "knockout";
|
|
import "./ComponentRegisterer";
|
|
|
|
describe("Component Registerer", () => {
|
|
it("should register json-editor component", () => {
|
|
expect(ko.components.isRegistered("json-editor")).toBe(true);
|
|
});
|
|
|
|
it("should register dynamic-list component", () => {
|
|
expect(ko.components.isRegistered("dynamic-list")).toBe(true);
|
|
});
|
|
});
|