From 9552df7653c0f0b2ef08c961f4ca503a893f055a Mon Sep 17 00:00:00 2001 From: Mike Ball Date: Mon, 7 Feb 2022 13:55:01 -0500 Subject: [PATCH] test reflects occurrence of single 'Missing Annotation' Signed-off-by: Mike Ball --- .../src/components/EntitySplunkOnCallCard.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx b/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx index da248ebec0..a83db136e4 100644 --- a/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx +++ b/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx @@ -212,7 +212,7 @@ describe('SplunkOnCallCard', () => { ), ); await waitFor(() => !queryByTestId('progress')); - expect(getAllByText('Missing Annotation').length).toEqual(2); + expect(getAllByText('Missing Annotation').length).toEqual(1); }); it('handles warning for incorrect team annotation', async () => {