diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-16 20:04:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-17 01:04:56 +0000 |
commit | b249627434d3a94420ac4d98c3ce720767e57b43 (patch) | |
tree | ec46e2c020c5a63a5c2babf56376f53e288ed7f2 /test/database.test.js | |
parent | decbc60f7734e739c0e5c41da294f65f9eec92fe (diff) |
Update eslint spacing rules (#366)
* Add space-infix-ops rule
* Add no-multi-spaces
---------
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Diffstat (limited to 'test/database.test.js')
-rw-r--r-- | test/database.test.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/database.test.js b/test/database.test.js index 80871f95..e7774d95 100644 --- a/test/database.test.js +++ b/test/database.test.js @@ -107,7 +107,8 @@ function countKanjiWithCharacter(kanji, character) { /** */ async function testDatabase1() { - test('Database1', async () => { // Load dictionary data + test('Database1', async () => { + // Load dictionary data const testDictionary = createTestDictionaryArchive('valid-dictionary1'); const testDictionarySource = await testDictionary.generateAsync({type: 'arraybuffer'}); const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string')); @@ -849,7 +850,8 @@ async function testFindTagForTitle1(database, title) { /** */ async function testDatabase2() { - test('Database2', async () => { // Load dictionary data + test('Database2', async () => { + // Load dictionary data const testDictionary = createTestDictionaryArchive('valid-dictionary1'); const testDictionarySource = await testDictionary.generateAsync({type: 'arraybuffer'}); const testDictionaryIndex = JSON.parse(await testDictionary.files['index.json'].async('string')); |