The first public release of Fabled Minstrel #158
@@ -111,7 +111,7 @@ describe('NotificationBell', () => {
|
|||||||
const rows = screen.getAllByTestId('notification-item');
|
const rows = screen.getAllByTestId('notification-item');
|
||||||
expect(rows).toHaveLength(2);
|
expect(rows).toHaveLength(2);
|
||||||
expect(rows[0]).toHaveTextContent('New album');
|
expect(rows[0]).toHaveTextContent('New album');
|
||||||
expect(rows[0]).toHaveTextContent('Geogaddi is on its way.');
|
expect(rows[0]).toHaveTextContent('Geogaddi is in the library.');
|
||||||
expect(rows[0]).toHaveAttribute('data-unread', 'true');
|
expect(rows[0]).toHaveAttribute('data-unread', 'true');
|
||||||
expect(rows[1]).toHaveTextContent('4 tracks went missing');
|
expect(rows[1]).toHaveTextContent('4 tracks went missing');
|
||||||
expect(rows[1]).not.toHaveAttribute('data-unread');
|
expect(rows[1]).not.toHaveAttribute('data-unread');
|
||||||
|
|||||||
Reference in New Issue
Block a user