mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 23:05:49 +00:00
22 lines
580 B
TypeScript
22 lines
580 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { getHudOverlayTaskbarOptions } from "./hudOverlayWindowOptions";
|
|
|
|
describe("getHudOverlayTaskbarOptions", () => {
|
|
it("keeps a focusable HUD in the Windows taskbar", () => {
|
|
expect(getHudOverlayTaskbarOptions("win32")).toEqual({
|
|
skipTaskbar: false,
|
|
focusable: true,
|
|
});
|
|
});
|
|
|
|
it.each([
|
|
"darwin",
|
|
"linux",
|
|
] as const)("keeps the HUD non-focusable and out of the taskbar on %s", (platform) => {
|
|
expect(getHudOverlayTaskbarOptions(platform)).toEqual({
|
|
skipTaskbar: true,
|
|
focusable: false,
|
|
});
|
|
});
|
|
});
|