From 697fd7e95d8ccbdcb5529e9dcc2937e4fd799bd5 Mon Sep 17 00:00:00 2001 From: kwasniew Date: Mon, 28 Oct 2024 15:27:58 +0100 Subject: [PATCH] feat: playground result count buckets --- .../AdvancedPlaygroundResultsTable/combinationCounter.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts index 268481853252..4cfdcddd8974 100644 --- a/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts +++ b/frontend/src/component/playground/Playground/AdvancedPlaygroundResultsTable/combinationCounter.test.ts @@ -97,6 +97,7 @@ it('counts the correct number of combinations', () => { }); it('assigns bucket', () => { + expect(getBucket(-1)).toBe('invalid bucket'); expect(getBucket(0)).toBe('0-100'); expect(getBucket(100)).toBe('100-1000'); expect(getBucket(1000)).toBe('1000-10000');