Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ElectronWindow.module.test.ts

9 lines282 Bytes

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