chore: polish comments.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
Johan Persson
2026-03-02 14:58:50 +01:00
parent 99ef00b4e4
commit be4810234c
3 changed files with 4 additions and 4 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2025 The Backstage Authors
* Copyright 2026 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
/*
* Copyright 2025 The Backstage Authors
* Copyright 2026 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -61,8 +61,8 @@ describe('UserSummary Test', () => {
);
expect(screen.getByText('calum-leavy@example.com')).toBeInTheDocument();
// BUI Avatar is decorative (aria-hidden), so the name must be
// present as text for the information to be accessible.
// BUI Avatar is decorative (aria-hidden), because the name is
// present as text right beside it.
expect(screen.getByRole('img', { hidden: true })).toBeInTheDocument();
expect(screen.getByText('Calum Leavy')).toBeInTheDocument();
expect(screen.getByText('examplegroup').closest('a')).toHaveAttribute(