| 1 | import { expect, it, vi } from "vite-plus/test"; |
| 2 | |
| 3 | vi.mock("@crowecawcaw/xa11y", () => { |
| 4 | throw new Error("Cannot find native binding"); |
| 5 | }); |
| 6 | |
| 7 | it("loads without an accessibility native binding", async () => { |
| 8 | await expect(import("./ElectronWindow.ts")).resolves.toBeDefined(); |
| 9 | }); |