From f381bc31eacf35ff9b0eec078f4fae835f49827e Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Wed, 5 Jul 2023 11:54:21 -0700 Subject: [PATCH] Fix unit test for Windows running on arm64 E.g. a VM on Apple Silicon. It's still 64-bit. --- test/core/platform.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/core/platform.test.ts b/test/core/platform.test.ts index f61ad60721..0cdd4012d0 100644 --- a/test/core/platform.test.ts +++ b/test/core/platform.test.ts @@ -716,7 +716,7 @@ describe("Platform module", function () { "Platform details operating system should be Windows"); assert.strictEqual( platformDetails.isProcess64Bit, - process.arch === "x64", + process.arch === "x64" || process.arch === "arm64", "Windows process bitness should match process arch"); assert.strictEqual( platformDetails.isOS64Bit,