Demo fixture: the long-named user is a known Mind's localpart
The pose-label test resolves fixture senders to known Minds; "@watch" was not one, so server.test.ts failed on the long-name fixture. Same long display name, now @heimdall. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ea33ab6daa
commit
34bdccd87c
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ export const USERS: DemoUser[] = [
|
|||
{ id: `@void:${DEMO_SERVER}`, name: 'Void' },
|
||||
{ id: `@nibu:${DEMO_SERVER}`, name: 'Nibu' },
|
||||
{ id: `@visitor:${DEMO_SERVER}`, name: 'Visitor' },
|
||||
{ id: `@watch:${DEMO_SERVER}`, name: 'Heimdall of the Long Watch, Keeper of the Bridge' },
|
||||
{ id: `@heimdall:${DEMO_SERVER}`, name: 'Heimdall of the Long Watch, Keeper of the Bridge' },
|
||||
];
|
||||
const user = (localpart: string) => `@${localpart}:${DEMO_SERVER}`;
|
||||
|
||||
|
|
@ -112,7 +112,7 @@ export const ROOMS: DemoRoom[] = [
|
|||
minutesAgo: 25,
|
||||
},
|
||||
// A long display name: the name pill has to show all of it on a phone.
|
||||
{ from: user('watch'), body: 'Ok.', pose: 'reading', minutesAgo: 20 },
|
||||
{ from: user('heimdall'), body: 'Ok.', pose: 'reading', minutesAgo: 20 },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue