fix tests
🏗️ Build and Test JellyTau / Build Android APK (push) Has been cancelled
🏗️ Build and Test JellyTau / Run Tests (push) Has been cancelled
Traceability Validation / Check Requirement Traces (push) Failing after 1s

This commit is contained in:
2026-02-14 17:15:53 +01:00
parent 9594e963bc
commit 07f3bf04ca
3 changed files with 10 additions and 8 deletions
+2 -4
View File
@@ -2,11 +2,9 @@ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
import { invoke } from "@tauri-apps/api/core";
import { RepositoryClient } from "./repository-client";
const mockInvoke = vi.fn();
vi.mock("@tauri-apps/api/core");
vi.mock("@tauri-apps/api/core", () => ({
invoke: mockInvoke,
}));
const mockInvoke = vi.mocked(invoke);
describe("RepositoryClient", () => {
let client: RepositoryClient;