Skip to content

Commit 772a762

Browse files
committed
test: export isRiscv64 from common module
isRiscv64 is defined and used internally for the timeout multiplier but was not exported. Export it alongside the other platform booleans (isLinux, isFreeBSD, isPi, etc.) so tests can use common.isRiscv64 instead of inlining process.arch checks. Refs: nodejs/build#4099 Signed-off-by: Jamie Magee <jamie.magee@gmail.com>
1 parent 12249cc commit 772a762

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/common/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,7 @@ const common = {
988988
isOpenBSD,
989989
isMacOS,
990990
isPi,
991+
isRiscv64,
991992
isSunOS,
992993
isWindows,
993994
localIPv6Hosts,

0 commit comments

Comments
 (0)