From 9d18c0c382b28d27484a299ee736f384b3b71fe7 Mon Sep 17 00:00:00 2001 From: Isaiah Thiessen Date: Tue, 16 Aug 2022 09:27:55 -0700 Subject: [PATCH] fix: update component props in unit tests Signed-off-by: Isaiah Thiessen --- .../Problems/ProblemsList/ProblemsList.test.tsx | 10 ++-------- .../Synthetics/SyntheticsCard/SyntheticsCard.test.tsx | 6 +----- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/plugins/dynatrace/src/components/Problems/ProblemsList/ProblemsList.test.tsx b/plugins/dynatrace/src/components/Problems/ProblemsList/ProblemsList.test.tsx index ff5d20dc28..9b9c51dca1 100644 --- a/plugins/dynatrace/src/components/Problems/ProblemsList/ProblemsList.test.tsx +++ b/plugins/dynatrace/src/components/Problems/ProblemsList/ProblemsList.test.tsx @@ -36,10 +36,7 @@ describe('ProblemStatus', () => { .mockResolvedValue({ problems }); const rendered = await renderInTestApp( - + , ); expect(await rendered.findByText('example-service')).toBeInTheDocument(); @@ -48,10 +45,7 @@ describe('ProblemStatus', () => { mockDynatraceApi.getDynatraceProblems = jest.fn().mockResolvedValue({}); const rendered = await renderInTestApp( - + , ); expect( diff --git a/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.test.tsx b/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.test.tsx index 8a06a140b4..e9083a3f82 100644 --- a/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.test.tsx +++ b/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.test.tsx @@ -42,11 +42,7 @@ describe('SyntheticsCard', () => { }); const rendered = await renderInTestApp( - - , + , , ); expect(