Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
test(ci): cover the missing-tag path under STRICT
Etienne Lescot9e2935cb4e6b
diff --git a/.github/scripts/discord-release-announce.test.mjs b/.github/scripts/discord-release-announce.test.mjsindex 1381c480b..6faa10d9e 100644--- a/.github/scripts/discord-release-announce.test.mjs+++ b/.github/scripts/discord-release-announce.test.mjs@@ -199,6 +199,15 @@ describe("strict mode", () => {const STRICT_ENV = { ...BASE_ENV, STRICT: "1", DISCORD_RELEASE_CHANNEL_ID: "123" };const exits1 = /process\.exit unexpectedly called with "1"/;+ it("fails when the release tag is missing", async () => {+ await expect(+ loadScript({ ...BASE_ENV, STABLE_TAG: "", STRICT: "1", DISCORD_RELEASE_CHANNEL_ID: "123" }),+ ).rejects.toThrow(exits1);+ expect(vi.mocked(setFailed)).toHaveBeenCalledWith(+ expect.stringContaining("STABLE_TAG missing"),+ );+ });+it("fails when the Discord configuration is missing", async () => {await expect(loadScript({ STABLE_TAG: "v1.5.0", STRICT: "1" })).rejects.toThrow(exits1);expect(vi.mocked(setFailed)).toHaveBeenCalledWith(expect.stringContaining("DISCORD_BOT_TOKEN"));