We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c0fbd7 commit 49e060aCopy full SHA for 49e060a
1 file changed
packages/app/src/components/__tests__/AppNavUserMenu.test.tsx
@@ -13,10 +13,10 @@ const renderAppNavUserMenu = (userName?: string) => {
13
14
describe('AppNavUserMenu', () => {
15
it('renders initials for multi-word names with extra whitespace', () => {
16
- renderAppNavUserMenu(' Ernest Iliiasov ');
+ renderAppNavUserMenu(' Ada Lovelace ');
17
18
- expect(screen.getByText('EI')).toBeInTheDocument();
19
- expect(screen.getByText(/Ernest\s+Iliiasov/)).toBeInTheDocument();
+ expect(screen.getByText('AL')).toBeInTheDocument();
+ expect(screen.getByText(/Ada\s+Lovelace/)).toBeInTheDocument();
20
});
21
22
it('falls back to the default user label for blank names', () => {
0 commit comments