message: await backend start
diff: @@ -37,8 +37,7 @@ export interface TestBackendOptions<TServices extends any[]> {
  export function createTestBackend<TServices extends any[]>(
  options: TestBackendOptions<TServices>,
  ): Backend {
  - const factories =
  - options.services?.map(serviceDef => {
  + const factories = options.services?.map(serviceDef => {
  if (Array.isArray(serviceDef)) {
  return createServiceFactory({
  service: serviceDef[0],
  @@ -47,8 +46,8 @@ export function createTestBackend<TServices extends any[]>(
  });
  }
  return serviceDef as AnyServiceFactory;
  - }) ?? [];
  - return createSpecializedBackend({ services: factories });
  + });
  + return createSpecializedBackend({ services: factories ?? [] });
  }
  /** @alpha */
  @@ -62,5 +61,5 @@ export async function startTestBackend<TServices extends any[]>(
  for (const reg of registrables) {
  backend.add(reg);
  }
  - return backend.start();
  + await backend.start();
  }
  