Skip to content

Commit 49e060a

Browse files
committed
test: update AppNav user menu regression fixture (HDX-3732)
1 parent 9c0fbd7 commit 49e060a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/app/src/components/__tests__/AppNavUserMenu.test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ const renderAppNavUserMenu = (userName?: string) => {
1313

1414
describe('AppNavUserMenu', () => {
1515
it('renders initials for multi-word names with extra whitespace', () => {
16-
renderAppNavUserMenu(' Ernest Iliiasov ');
16+
renderAppNavUserMenu(' Ada Lovelace ');
1717

18-
expect(screen.getByText('EI')).toBeInTheDocument();
19-
expect(screen.getByText(/Ernest\s+Iliiasov/)).toBeInTheDocument();
18+
expect(screen.getByText('AL')).toBeInTheDocument();
19+
expect(screen.getByText(/Ada\s+Lovelace/)).toBeInTheDocument();
2020
});
2121

2222
it('falls back to the default user label for blank names', () => {

0 commit comments

Comments
 (0)