From 8ccf0de63ca192bf3fb34a95a30a1917720aa1d2 Mon Sep 17 00:00:00 2001 From: Chris Langhout Date: Fri, 25 Nov 2022 13:44:28 +0100 Subject: [PATCH] fix: test now succeed; expected had an extra space character Signed-off-by: Chris Langhout --- .../cost-insights/src/components/CostGrowth/CostGrowth.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cost-insights/src/components/CostGrowth/CostGrowth.test.tsx b/plugins/cost-insights/src/components/CostGrowth/CostGrowth.test.tsx index 6c21e243c8..dfc18cb025 100644 --- a/plugins/cost-insights/src/components/CostGrowth/CostGrowth.test.tsx +++ b/plugins/cost-insights/src/components/CostGrowth/CostGrowth.test.tsx @@ -118,7 +118,7 @@ describe.each` ${ChangeThreshold.lower} | ${0.5} | ${0.5} | ${'Negligible'} ${ChangeThreshold.upper} | ${0.5} | ${0.000001} | ${'less than an engineer'} ${ChangeThreshold.upper} | ${0.5} | ${0.5} | ${'Negligible'} - ${3} | ${500_000} | ${0} | ${`300% or ~ 30 engineers`} + ${3} | ${500_000} | ${0} | ${`300% or ~30 engineers`} ${3} | ${500_000} | ${30} | ${'Negligible'} `('', ({ ratio, amount, threshold, expected }) => { it(`should display the correct difference the threshold is different. ratio: ${ratio} threshold:${threshold} expected:${expected}`, async () => {