aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2024-04-15 07:16:37 -0600
committerLibravatar GitHub <noreply@github.com>2024-04-15 07:16:37 -0600
commitcbba61b40112b41c43285a1a279969e68df1a2e9 (patch)
tree6f2e95326033396c5f7b79b48e5a3febb0877ff3 /test
parent6.7.3-nightly.10 [skip ci] (diff)
downloadferdium-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')
-rw-r--r--test/helpers/array-helpers.test.ts5
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});