Files
ctms/frontend/src/plugins/elementPlus.test.ts
T
Cheng Zhou d5279b124f
Storage Persistence Guard / storage-persistence-audit (push) Has been cancelled
Client Quality Gates / Shared client and Web (push) Has been cancelled
Client Quality Gates / macOS Desktop (push) Has been cancelled
Client Quality Gates / Shared client and Web (pull_request) Has been cancelled
Client Quality Gates / macOS Desktop (pull_request) Has been cancelled
Storage Persistence Guard / storage-persistence-audit (pull_request) Has been cancelled
release(main): 同步 dev 最新候选改动
2026-07-16 17:15:50 +08:00

15 lines
503 B
TypeScript

import { createApp, defineComponent } from "vue";
import { describe, expect, it } from "vitest";
import { installElementPlus } from "./elementPlus";
describe("installElementPlus", () => {
it("registers radio group subcomponents used by the monitoring time selector", () => {
const app = createApp(defineComponent({ template: "<div />" }));
installElementPlus(app);
expect(app.component("ElRadioGroup")).toBeDefined();
expect(app.component("ElRadioButton")).toBeDefined();
});
});