fix: add missing frontend dependencies and remove trailing whitespace

- Add @tanstack/react-query, axios, and clsx to frontend dependencies
- Remove trailing whitespace from multiple files to pass pre-commit hooks
- These were required but missing from package.json
This commit is contained in:
Wikid82
2025-11-18 13:37:18 -05:00
parent b570e4c025
commit 76f937d947
15 changed files with 52 additions and 46 deletions

View File

@@ -103,7 +103,7 @@ describe('useImport', () => {
await result.current.commit({ 'test.com': 'skip' })
expect(api.importAPI.commit).toHaveBeenCalledWith('session-2', { 'test.com': 'skip' })
await waitFor(() => {
expect(result.current.session).toBeNull()
})
@@ -149,7 +149,7 @@ describe('useImport', () => {
vi.mocked(api.importAPI.upload).mockResolvedValue({ session: mockSession })
vi.mocked(api.importAPI.status).mockResolvedValue({ has_pending: true, session: mockSession })
vi.mocked(api.importAPI.preview).mockResolvedValue({ hosts: [], conflicts: [], errors: [] })
const mockError = new Error('Commit failed')
vi.mocked(api.importAPI.commit).mockRejectedValue(mockError)