seedUser method

void seedUser(
  1. ChatUser user
)

Test helper: register a user directly in the mock store so subsequent client.users.get(userId) calls return them. Pair with seedRoom when a test exercises the DM-draft hydration path.

Implementation

void seedUser(ChatUser user) {
  _users[user.id] = user;
}