style: fix lint errors in test files
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 53s
CI / Lint & Test (pull_request) Failing after 5m54s
CI / Build Linux (pull_request) Has been skipped
CI / Build Windows (cross-compile) (pull_request) Has been skipped

- Remove unused imports in config.test.ts and conversations.test.ts
- Remove unused handler variable in tauri.test.ts
- Remove unused _args parameter in vitest.setup.ts mock
- Add coverage/ to eslint ignore list
This commit is contained in:
2026-01-25 23:28:45 -08:00
committed by Naomi Carrigan
parent 8cb4c17dc1
commit d3bb62210d
5 changed files with 5 additions and 15 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export function clearMockInvokeResults() {
}
vi.mock("@tauri-apps/api/core", () => ({
invoke: vi.fn((command: string, _args?: Record<string, unknown>) => {
invoke: vi.fn((command: string) => {
if (command in mockInvokeResults) {
const result = mockInvokeResults[command];
if (result instanceof Error) {