fix: resolve build errors, update snapshots, and address review comments

This commit is contained in:
Keith Guerin
2026-03-01 23:40:29 -08:00
parent 9e2407993e
commit 52f44516c5
58 changed files with 1094 additions and 200 deletions
@@ -5,12 +5,20 @@
*/
import { act } from 'react';
import {
afterEach,
beforeEach,
describe,
expect,
it,
type Mock,
vi,
} from 'vitest';
import { render } from '../../test-utils/render.js';
import { useKeypress } from './useKeypress.js';
import { KeypressProvider } from '../contexts/KeypressContext.js';
import { useStdin } from 'ink';
import { EventEmitter } from 'node:events';
import type { Mock } from 'vitest';
// Mock the 'ink' module to control stdin
vi.mock('ink', async (importOriginal) => {