From 3a3c1a87ab733001b4fc0aa273a0bc813ab80b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Mon, 5 Jan 2026 01:01:28 +0100 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- tests/utils.spec.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/utils.spec.ts b/tests/utils.spec.ts index c7c0b94..da78242 100644 --- a/tests/utils.spec.ts +++ b/tests/utils.spec.ts @@ -74,18 +74,4 @@ describe("getArchitecture", () => { expect(result).toBe("aarch64"); expect(warningSpy).not.toHaveBeenCalled(); }); - - it("should emit warning with correct message for Windows ARM64 fallback", () => { - warningSpy = spyOn(core, "warning"); - getArchitecture("windows", "arm64"); - - expect(warningSpy).toHaveBeenCalledWith( - [ - "⚠️ Bun does not provide native arm64 builds for Windows.", - "Using x64 baseline build which will run through Microsoft's x64 emulation layer.", - "This may result in reduced performance and potential compatibility issues.", - "💡 For best performance, consider using x64 Windows runners or other platforms with native support.", - ].join("\n") - ); - }); });