From f1c4da095ba0303f017400096cfe79ac1607dbd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=A4ggmark?= Date: Tue, 15 Feb 2022 12:33:10 +0100 Subject: [PATCH] Chore: Removes console output from InspectDataTab.test.tsx (#45374) --- public/app/features/inspector/InspectDataTab.test.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/app/features/inspector/InspectDataTab.test.tsx b/public/app/features/inspector/InspectDataTab.test.tsx index 689c4e9c072..5e8459b9ea1 100644 --- a/public/app/features/inspector/InspectDataTab.test.tsx +++ b/public/app/features/inspector/InspectDataTab.test.tsx @@ -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>) => { const defaultProps = { isLoading: false,