Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
einatnielsen committed May 25, 2021
1 parent 0320687 commit 3cb1516
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ describe('VizTypeControl', () => {

const visualizations = screen.getByTestId(getTestId('viz-row'));

expect(visualizations.textContent).toContain('Time-series Table');
expect(visualizations.textContent).toContain('Time-series Chart');
expect(visualizations.textContent).toContain('Mixed timeseries chart');
expect(visualizations.textContent).toContain('Line Chart');
expect(visualizations).toHaveTextContent(/Time-series Table/);
expect(visualizations).toHaveTextContent(/Time-series Chart/);
expect(visualizations).toHaveTextContent(/Mixed timeseries chart/);
expect(visualizations).toHaveTextContent(/Line Chart/);

const searchInputText = 'time series';

Expand All @@ -103,9 +103,9 @@ describe('VizTypeControl', () => {
searchInputText,
);

expect(visualizations.textContent).toContain('Time-series Table');
expect(visualizations.textContent).toContain('Time-series Chart');
expect(visualizations.textContent).toContain('Mixed timeseries chart');
expect(visualizations.textContent).not.toContain('Line Chart');
expect(visualizations).toHaveTextContent(/Time-series Table/);
expect(visualizations).toHaveTextContent(/Time-series Chart/);
expect(visualizations).toHaveTextContent(/Mixed timeseries chart/);
expect(visualizations).not.toHaveTextContent(/Line Chart/);
});
});

0 comments on commit 3cb1516

Please sign in to comment.