generated from nhcarrigan/template
style: fix lint errors in test files
- 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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user