aboutsummaryrefslogtreecommitdiffstats
path: root/test/helpers/array-helpers.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/helpers/array-helpers.test.ts')
-rw-r--r--test/helpers/array-helpers.test.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/helpers/array-helpers.test.ts b/test/helpers/array-helpers.test.ts
index 662d6b828..135123b6a 100644
--- a/test/helpers/array-helpers.test.ts
+++ b/test/helpers/array-helpers.test.ts
@@ -7,7 +7,8 @@ describe('array_helpers', () => {
7 7
8 // Expect the arrays to be exactly the same 8 // Expect the arrays to be exactly the same
9 // when both are sorted alphabetically 9 // when both are sorted alphabetically
10 // eslint-disable-next-line sonar/no-alphabetical-sort 10 expect(shuffledArray.toSorted((a, b) => a.localeCompare(b))).toEqual(
11 expect(shuffledArray.sort()).toEqual(originalArray.sort()); 11 originalArray.toSorted((a, b) => a.localeCompare(b)),
12 );
12 }); 13 });
13}); 14});