Skip to content

Commit 6b23f68

Browse files
committed
Fix unit test for Windows running on arm64
E.g. a VM on Apple Silicon. It's still 64-bit.
1 parent 35c6163 commit 6b23f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core/platform.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ describe("Platform module", function () {
716716
"Platform details operating system should be Windows");
717717
assert.strictEqual(
718718
platformDetails.isProcess64Bit,
719-
process.arch === "x64",
719+
process.arch === "x64" || process.arch === "arm64",
720720
"Windows process bitness should match process arch");
721721
assert.strictEqual(
722722
platformDetails.isOS64Bit,

0 commit comments

Comments
 (0)