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, context: options.context,
}); });
const startPromise = subApp.runCommand('start', '--quickstart'); await subApp.runCommand('start', '--quickstart');
};
const startPromise = quickstart();
if (options?.context?.waitSubAppInstall) { if (options?.context?.waitSubAppInstall) {
await startPromise; await startPromise;
} }
};
quickstart();
}, },
); );