diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/helpers/array-helpers.test.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/helpers/array-helpers.test.ts b/test/helpers/array-helpers.test.ts index e8060c2c4..cbb7822e9 100644 --- a/test/helpers/array-helpers.test.ts +++ b/test/helpers/array-helpers.test.ts | |||
@@ -5,9 +5,6 @@ describe('array_helpers', () => { | |||
5 | const originalArray = ['a', 'b', 'c']; | 5 | const originalArray = ['a', 'b', 'c']; |
6 | const shuffledArray = shuffleArray(originalArray); | 6 | const shuffledArray = shuffleArray(originalArray); |
7 | 7 | ||
8 | // Expect the arrays to not be exactly the same | ||
9 | expect(shuffledArray).not.toEqual(originalArray); | ||
10 | |||
11 | // Expect the arrays to be exactly the same | 8 | // Expect the arrays to be exactly the same |
12 | // when both are sorted alphabetically | 9 | // when both are sorted alphabetically |
13 | expect(shuffledArray.sort()).toEqual(originalArray.sort()); | 10 | expect(shuffledArray.sort()).toEqual(originalArray.sort()); |