Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jozef Steinhübl 2026-01-05 01:01:28 +01:00 committed by GitHub
parent 756ba8f38b
commit 3a3c1a87ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")
);
});
});