From 070a441fafc173dc286a884739da536903452736 Mon Sep 17 00:00:00 2001 From: Ricardo Cino Date: Sun, 26 Jun 2022 14:24:06 +0200 Subject: fix: solve recipe function calls that were broken cause of js=>ts con… (#369) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: solve recipe function calls that were broken cause of js=>ts conversion * fix: use an interface instead to keep type-safety * fix: remove faulty test --- test/helpers/array-helpers.test.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/helpers/array-helpers.test.ts') 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', () => { const originalArray = ['a', 'b', 'c']; const shuffledArray = shuffleArray(originalArray); - // Expect the arrays to not be exactly the same - expect(shuffledArray).not.toEqual(originalArray); - // Expect the arrays to be exactly the same // when both are sorted alphabetically expect(shuffledArray.sort()).toEqual(originalArray.sort()); -- cgit v1.2.3-54-g00ecf