fix: multi app test

This commit is contained in:
Chareice 2024-11-05 10:54:57 +08:00
parent 30dc9faf24
commit 2bc571eb14
No known key found for this signature in database

View File

@ -200,14 +200,14 @@ export class PluginMultiAppManagerServer extends Plugin {
context: options.context,
});
const startPromise = subApp.runCommand('start', '--quickstart');
if (options?.context?.waitSubAppInstall) {
await startPromise;
}
await subApp.runCommand('start', '--quickstart');
};
quickstart();
const startPromise = quickstart();
if (options?.context?.waitSubAppInstall) {
await startPromise;
}
},
);