diff options
author | Ricardo Cino <ricardo@cino.io> | 2022-06-26 01:26:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 23:26:19 +0000 |
commit | 465b5772763ccb8d4970d4c55e30a518abb7be3e (patch) | |
tree | e929e34910dbf6a3958cdc4de77dc1dcae93e7b0 /src/helpers/array-helpers.ts | |
parent | chore: add more strict types in electron directory (#367) (diff) | |
download | ferdium-app-465b5772763ccb8d4970d4c55e30a518abb7be3e.tar.gz ferdium-app-465b5772763ccb8d4970d4c55e30a518abb7be3e.tar.zst ferdium-app-465b5772763ccb8d4970d4c55e30a518abb7be3e.zip |
chore: moved tests to ./test directory (#366)
* chore: allow coverage to be generated from non-tested files
Diffstat (limited to 'src/helpers/array-helpers.ts')
-rw-r--r-- | src/helpers/array-helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/array-helpers.ts b/src/helpers/array-helpers.ts index 3f8806176..45ff932ba 100644 --- a/src/helpers/array-helpers.ts +++ b/src/helpers/array-helpers.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | export const shuffleArray = (arr: any[]) => | 1 | export const shuffleArray = (arr: any[]): any[] => |
2 | arr | 2 | arr |
3 | .map(a => [Math.random(), a]) | 3 | .map(a => [Math.random(), a]) |
4 | .sort((a, b) => a[0] - b[0]) | 4 | .sort((a, b) => a[0] - b[0]) |