Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Mar 10, 2022
1 parent ea832c3 commit 4e9f37f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ describe('ChartHolder', () => {
screen.getByText('No results were returned for this query'),
).toBeVisible();
expect(
screen.getByText(
screen.queryByText(
'Make sure that the controls are configured properly and the datasource contains data for the selected time range',
),
).toBeVisible();
).not.toBeInTheDocument(); // description should display only in Explore view
expect(screen.getByAltText('empty')).toBeVisible();
});
});

0 comments on commit 4e9f37f

Please # to comment.