mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-22 15:51:18 -07:00
WIP
This commit is contained in:
@@ -35,7 +35,7 @@ vi.mock('../hooks/useTerminalSize.js', () => ({
|
||||
useTerminalSize: () => ({ columns: 80, terminalHeight: mockedRows.current }),
|
||||
}));
|
||||
|
||||
describe('FolderTrustDialog', () => {
|
||||
describe.skip('FolderTrustDialog', () => {
|
||||
beforeEach(() => {
|
||||
vi.clearAllMocks();
|
||||
vi.useRealTimers();
|
||||
@@ -217,7 +217,7 @@ describe('FolderTrustDialog', () => {
|
||||
);
|
||||
|
||||
await act(async () => {
|
||||
stdin.write('\u001b[27u'); // Press kitty escape key
|
||||
stdin.write('\u001b'); // Press escape key
|
||||
});
|
||||
// Escape key has a 50ms timeout in KeypressContext, so we need to wrap waitUntilReady in act
|
||||
await act(async () => {
|
||||
@@ -294,7 +294,7 @@ describe('FolderTrustDialog', () => {
|
||||
unmount();
|
||||
});
|
||||
|
||||
describe('directory display', () => {
|
||||
describe.skip('directory display', () => {
|
||||
it('should correctly display the folder name for a nested directory', async () => {
|
||||
mockedCwd.mockReturnValue('/home/user/project');
|
||||
const { lastFrame, unmount } = await renderWithProviders(
|
||||
|
||||
Reference in New Issue
Block a user