message: fix getCapabilities stub
diff: @@ -96,7 +96,7 @@ export function createTestClient() {
  },
  },
  decryptEventIfNeeded: () => Promise.resolve(),
  - getCapabilities: jest.fn().mockReturnValue({}),
  + getCapabilities: jest.fn().mockResolvedValue({}),
  };
  }
  