mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Update dependency react-select to v5 (#41604)
* Update dependency react-select to v5 * Remove @types/react-select and update types accordingly * Fix all unit tests * Add @ts-expect-error to individual errors, remove prefix as it doesn't seem to exist? * Another minor typescript fix * Apply fixes from torkel's PR * Fix last typescript error Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
co-authored by
Renovate Bot
Ashley Harrison
parent
6b79393ccc
commit
035e676cad
@@ -57,7 +57,7 @@ describe('InspectDataTab', () => {
|
||||
render(<InspectDataTab {...createProps()} />);
|
||||
const dataOptions = screen.getByText(/Data options/i);
|
||||
userEvent.click(dataOptions);
|
||||
const dataFrameInput = screen.getByRole('textbox', { name: /Select dataframe/i });
|
||||
const dataFrameInput = screen.getByRole('combobox', { name: /Select dataframe/i });
|
||||
userEvent.click(dataFrameInput);
|
||||
expect(screen.getByText(/Second data frame/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user