diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-04-15 07:16:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 07:16:37 -0600 |
commit | cbba61b40112b41c43285a1a279969e68df1a2e9 (patch) | |
tree | 6f2e95326033396c5f7b79b48e5a3febb0877ff3 /test/helpers/array-helpers.test.ts | |
parent | 6.7.3-nightly.10 [skip ci] (diff) | |
download | ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.tar.gz ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.tar.zst ferdium-app-cbba61b40112b41c43285a1a279969e68df1a2e9.zip |
refactor: project maintenance (#1682)
- remove redundant `@adonisjs/auth`, `@adonisjs/session` and `@emotion/react` dependencies
- remove `.vscode` folder
- clean up some TS and ESLint issues
- migrate from deprecated "husky install" to "husky"
Diffstat (limited to 'test/helpers/array-helpers.test.ts')
-rw-r--r-- | test/helpers/array-helpers.test.ts | 5 |
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 | }); |