15 lines
288 B
TypeScript
15 lines
288 B
TypeScript
/**
|
|
* Test setup file
|
|
* Configures mocks before tests run
|
|
*/
|
|
|
|
import { vi } from "vitest";
|
|
|
|
// Mock electron module before any imports
|
|
vi.mock("electron", () => {
|
|
return import("./mocks/electron");
|
|
});
|
|
|
|
// Increase timeout for integration tests
|
|
vi.setConfig({ testTimeout: 30000 });
|