feat: 清理openspec
This commit is contained in:
@@ -52,7 +52,7 @@ describe("ServerDeploymentWorkflow", () => {
|
||||
container = document.createElement("div");
|
||||
document.body.append(container);
|
||||
root = createRoot(container);
|
||||
const initialForm = defaultServerCreateForm([plugin], []);
|
||||
const initialForm = defaultServerCreateForm([plugin]);
|
||||
let submitted: ReturnType<typeof serverCreateRequestFromForm> | undefined;
|
||||
const onSubmit = vi.fn(async (form: typeof initialForm) => {
|
||||
submitted = serverCreateRequestFromForm(form, 17);
|
||||
@@ -64,7 +64,6 @@ describe("ServerDeploymentWorkflow", () => {
|
||||
open
|
||||
kind="create"
|
||||
plugins={[plugin]}
|
||||
endpoints={[]}
|
||||
initialForm={initialForm}
|
||||
onClose={() => undefined}
|
||||
onSubmit={onSubmit}
|
||||
|
||||
Reference in New Issue
Block a user