aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Ricardo Cino <ricardo@cino.io>2022-06-26 14:24:06 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-26 14:24:06 +0200
commit070a441fafc173dc286a884739da536903452736 (patch)
tree5c4aec94cfd36c01f57746bf48f7593be45bdef1 /test
parent6.0.0-nightly.78 [skip ci] (diff)
downloadferdium-app-070a441fafc173dc286a884739da536903452736.tar.gz
ferdium-app-070a441fafc173dc286a884739da536903452736.tar.zst
ferdium-app-070a441fafc173dc286a884739da536903452736.zip
fix: solve recipe function calls that were broken cause of js=>ts con… (#369)
* 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
Diffstat (limited to 'test')
-rw-r--r--test/helpers/array-helpers.test.ts3
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());