mirror of
https://github.com/certd/certd.git
synced 2026-07-10 23:27:34 +08:00
chore: 1
This commit is contained in:
@@ -34,7 +34,7 @@ describe("plugin-lib common util", () => {
|
||||
title: "选择资源",
|
||||
action: "ListResource",
|
||||
typeName: "resource",
|
||||
multi: false,
|
||||
single: true,
|
||||
search: true,
|
||||
watches: ["region"],
|
||||
});
|
||||
@@ -46,8 +46,8 @@ describe("plugin-lib common util", () => {
|
||||
vModel: "value",
|
||||
action: "ListResource",
|
||||
typeName: "resource",
|
||||
mode: "default",
|
||||
multi: false,
|
||||
mode: "tags",
|
||||
single: true,
|
||||
search: true,
|
||||
});
|
||||
expect(define.component.watches).to.deep.equal(["certDomains", "accessId", "region"]);
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ describe("VolcengineDeployToVKE", () => {
|
||||
it("uses a single-select cluster field", () => {
|
||||
const clusterInput = (VolcengineDeployToVKE as any).define.input.clusterId;
|
||||
|
||||
assert.equal(clusterInput.component.multi, false);
|
||||
assert.equal(clusterInput.component.mode, "default");
|
||||
assert.equal(clusterInput.component.single, true);
|
||||
assert.equal(clusterInput.component.mode, "tags");
|
||||
});
|
||||
|
||||
it("sends the configured string ClusterId", async () => {
|
||||
|
||||
Reference in New Issue
Block a user