From 698583f10db9d2b26e96a3c70a9b4a2509523a8d Mon Sep 17 00:00:00 2001 From: Eran Ifrah Date: Thu, 13 Jun 2024 18:18:59 +0300 Subject: [PATCH] When converting Set into Array, sort the items --- node/tests/TestUtilities.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/node/tests/TestUtilities.ts b/node/tests/TestUtilities.ts index 5f5200fce9..5dc8fe9d6e 100644 --- a/node/tests/TestUtilities.ts +++ b/node/tests/TestUtilities.ts @@ -38,6 +38,7 @@ function intoArrayInternal(obj: any, builder: Array) { } } else if (obj instanceof Set) { const arr = Array.from(obj); + arr.sort(); for (const item of arr) { intoArrayInternal(item, builder);