Skip to content

Commit

Permalink
fixed test error
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKiprotich350 committed Sep 18, 2024
1 parent e685f49 commit d813ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('QueueScreen component', () => {
mutate: jest.fn(),
});
render(<QueueScreen />);
expect(screen.getByText('Error')).toBeInTheDocument();
expect(screen.getByText(/Error State/i)).toBeInTheDocument();
});

test('renders table with active tickets when data is loaded', () => {
Expand Down
1 change: 1 addition & 0 deletions packages/esm-service-queues-app/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
"queueRoomUpdatedSuccessfully": "Queue room updated successfully",
"queuesClearedSuccessfully": "Queues Cleared Successfully",
"queueScreen": "Queue screen",
"queueScreenError": "Queue screen error",
"queueService": "Queue service",
"queueStatus": "Queue status",
"recentScheduledVisits_one": "{{count}} visit scheduled for +/- 7 days",
Expand Down

0 comments on commit d813ea1

Please sign in to comment.