mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Removes console output from InspectDataTab.test.tsx (#45374)
This commit is contained in:
parent
1b3dd310c0
commit
f1c4da095b
@ -1,9 +1,13 @@
|
||||
import React, { ComponentProps } from 'react';
|
||||
import { FieldType, DataFrame } from '@grafana/data';
|
||||
import { DataFrame, FieldType } from '@grafana/data';
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import userEvent from '@testing-library/user-event';
|
||||
import { InspectDataTab } from './InspectDataTab';
|
||||
|
||||
// the mock below gets rid of this warning from recompose:
|
||||
// Warning: React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.
|
||||
jest.mock('@jaegertracing/jaeger-ui-components', () => ({}));
|
||||
|
||||
const createProps = (propsOverride?: Partial<ComponentProps<typeof InspectDataTab>>) => {
|
||||
const defaultProps = {
|
||||
isLoading: false,
|
||||
|
Loading…
Reference in New Issue
Block a user