mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 06:56:32 +00:00
fix(server): add type and remove log
This commit is contained in:
parent
9edaa9183a
commit
447c54df9f
@ -307,7 +307,7 @@ export async function createMockCluster({
|
||||
if (!dbOptions) {
|
||||
dbOptions = app.db.options;
|
||||
}
|
||||
console.log('-------------', await app.isInstalled());
|
||||
|
||||
nodes.push(app);
|
||||
}
|
||||
return {
|
||||
@ -322,7 +322,7 @@ export async function createMockCluster({
|
||||
|
||||
export async function createMockServer(options: MockServerOptions = {}) {
|
||||
const { version, beforeInstall, skipInstall, skipStart, ...others } = options;
|
||||
const app: any = mockServer(others);
|
||||
const app: MockServer = mockServer(others);
|
||||
if (!skipInstall) {
|
||||
if (beforeInstall) {
|
||||
await beforeInstall(app);
|
||||
|
Loading…
Reference in New Issue
Block a user