Skip to contentOpen History to see the last commit
ElectronWindow.module.test.ts
9 lines282 Bytes
1import { expect, it, vi } from "vite-plus/test"; 3vi.mock("@crowecawcaw/xa11y", () => { 4 throw new Error("Cannot find native binding"); 7it("loads without an accessibility native binding", async () => { 8 await expect(import("./ElectronWindow.ts")).resolves.toBeDefined();