fix: test now succeed; expected had an extra space character

Signed-off-by: Chris Langhout <clanghout@bol.com>
This commit is contained in:
Chris Langhout
2022-11-25 13:44:28 +01:00
parent 7b6a317e87
commit 8ccf0de63c
@@ -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'}
`('<CostGrowth />', ({ ratio, amount, threshold, expected }) => {
it(`should display the correct difference the threshold is different. ratio: ${ratio} threshold:${threshold} expected:${expected}`, async () => {