diff --git a/packages/cli/src/ui/hooks/useCommandCompletion.test.tsx b/packages/cli/src/ui/hooks/useCommandCompletion.test.tsx
index 982991bf9a..581096de1e 100644
--- a/packages/cli/src/ui/hooks/useCommandCompletion.test.tsx
+++ b/packages/cli/src/ui/hooks/useCommandCompletion.test.tsx
@@ -217,6 +217,7 @@ describe('useCommandCompletion', () => {
shellModeActive={shellModeActive}
active={active}
/>,
+ { allowEmptyFrame: true },
);
return {
result: {
@@ -833,7 +834,7 @@ describe('useCommandCompletion', () => {
hookResult = { ...completion, textBuffer };
return null;
}
- await renderWithProviders();
+ await renderWithProviders(, { allowEmptyFrame: true });
// Should not trigger prompt completion for comments
await waitFor(() => {
@@ -868,7 +869,7 @@ describe('useCommandCompletion', () => {
hookResult = { ...completion, textBuffer };
return null;
}
- await renderWithProviders();
+ await renderWithProviders(, { allowEmptyFrame: true });
// Should not trigger prompt completion for comments
await waitFor(() => {
@@ -903,7 +904,7 @@ describe('useCommandCompletion', () => {
hookResult = { ...completion, textBuffer };
return null;
}
- await renderWithProviders();
+ await renderWithProviders(, { allowEmptyFrame: true });
// This test verifies that comments are filtered out while regular text is not
await waitFor(() => {