init_some_tenants = async (tenant) => {
  const { loadAllPlugins } = require("@saltcorn/server/load_plugins");
  const { init_multi_tenant } = require("@saltcorn/data/db/state");
  await loadAllPlugins();
  if (tenant === "*") {
    const { getAllTenants } = require("@saltcorn/admin-models/models/tenant");
    const tenants = await getAllTenants();
    await init_multi_tenant(loadAllPlugins, undefined, tenants);
  } else if (tenant)
    await init_multi_tenant(loadAllPlugins, undefined, [tenant]);
  else await init_multi_tenant(loadAllPlugins, undefined, []);
  //await init_multi_tenant(loadAllPlugins, undefined, tenants);
}
Init specified tenant
@param tenant - specified tenant
@returns {Promise<void>}