From 39909e3f2f08b92a6876400cfa816cdaf76dc447 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Sat, 18 Apr 2026 02:27:47 +0000 Subject: [PATCH] test: fix QuotaDisplay tests --- packages/cli/src/ui/components/QuotaDisplay.test.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/cli/src/ui/components/QuotaDisplay.test.tsx b/packages/cli/src/ui/components/QuotaDisplay.test.tsx index ad0adba12e..778b2c6443 100644 --- a/packages/cli/src/ui/components/QuotaDisplay.test.tsx +++ b/packages/cli/src/ui/components/QuotaDisplay.test.tsx @@ -22,6 +22,9 @@ describe('QuotaDisplay', () => { it('should not render when remaining is undefined', async () => { const { lastFrame, unmount } = await render( , + undefined, + undefined, + true, ); expect(lastFrame({ allowEmpty: true })).toBe(''); unmount(); @@ -30,6 +33,9 @@ describe('QuotaDisplay', () => { it('should not render when limit is undefined', async () => { const { lastFrame, unmount } = await render( , + undefined, + undefined, + true, ); expect(lastFrame({ allowEmpty: true })).toBe(''); unmount(); @@ -38,6 +44,9 @@ describe('QuotaDisplay', () => { it('should not render when limit is 0', async () => { const { lastFrame, unmount } = await render( , + undefined, + undefined, + true, ); expect(lastFrame({ allowEmpty: true })).toBe(''); unmount(); @@ -46,6 +55,9 @@ describe('QuotaDisplay', () => { it('should not render when usage < 80%', async () => { const { lastFrame, unmount } = await render( , + undefined, + undefined, + true, ); expect(lastFrame({ allowEmpty: true })).toBe(''); unmount();