aboutsummaryrefslogtreecommitdiff
path: root/test/hotkey-util.test.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-10 23:12:01 -0500
committerGitHub <noreply@github.com>2024-02-11 04:12:01 +0000
commit765f1ede668f70e3af7717bf4d5f05dbf009c7f8 (patch)
treee73f481c93f8bbaa42f7c8216190fb1cb4621301 /test/hotkey-util.test.js
parent805cf9cb3ea744a6d7c0a5da27fc9ef4e6f08626 (diff)
Eslint rule updates (#665)
* Padding newline rules * Update rules * Update rules * Update rules * Updates * Update object quotes * Merge similar ts and js rules * Change export spacing rules * Move typescript-eslint rules * Spacing * Actually save and commit changes
Diffstat (limited to 'test/hotkey-util.test.js')
-rw-r--r--test/hotkey-util.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hotkey-util.test.js b/test/hotkey-util.test.js
index bf1124a5..01a2b536 100644
--- a/test/hotkey-util.test.js
+++ b/test/hotkey-util.test.js
@@ -160,7 +160,7 @@ function testSortModifiers() {
const hotkeyUtil = new HotkeyUtil();
for (const {modifiers, expected} of data) {
- test(`[${modifiers}] -> [${expected}]`, () => {
+ test(`[${modifiers.join(',')}] -> [${expected.join(',')}]`, () => {
const modifiers2 = hotkeyUtil.sortModifiers(modifiers);
expect(modifiers2).toStrictEqual(modifiers);
expect(modifiers2).toStrictEqual(expected);