Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/test/refcheck.test.tsx

Steven Enamakelc274660743a7
diff --git a/app/test/refcheck.test.tsx b/app/test/refcheck.test.tsx
deleted file mode 100644
index 2d1d82c1fb..0000000000
--- a/app/test/refcheck.test.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { render, screen, fireEvent } from '@testing-library/react';
-import { useState } from 'react';
-import { describe, it, expect } from 'vitest';
-import SettingsSearchBar from '../src/components/settings/search/SettingsSearchBar';
-
-function Harness() {
- const [v, setV] = useState('hello');
- return <SettingsSearchBar value={v} onValueChange={setV} />;
-}
-
-describe('ref forwarding through the shadcn Input', () => {
- it('refocuses the input after clearing', () => {
- render(<Harness />);
- const input = screen.getByTestId('settings-search-input');
- fireEvent.click(screen.getByTestId('settings-search-clear'));
- expect(document.activeElement).toBe(input);
- });
-});