summaryrefslogtreecommitdiff
path: root/test/dictionary-data.write.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-03-02 21:20:24 -0500
committerGitHub <noreply@github.com>2024-03-03 02:20:24 +0000
commitdf7acf3d225ec2801096808ee4e1967a0479b49a (patch)
tree8b9d58f6b7e38617c907873a60d56f9055f06124 /test/dictionary-data.write.js
parent9577449e4bd2b7665e9161e50035393ef200205f (diff)
Ci updates (#757)
* Add test:unit:options to CI * Add test:unit:options to full test * Change config targets * Add newline
Diffstat (limited to 'test/dictionary-data.write.js')
-rw-r--r--test/dictionary-data.write.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dictionary-data.write.js b/test/dictionary-data.write.js
index b271da57..16cb8d88 100644
--- a/test/dictionary-data.write.js
+++ b/test/dictionary-data.write.js
@@ -28,7 +28,7 @@ import {createFindKanjiOptions, createFindTermsOptions} from './utilities/transl
* @param {unknown} content
*/
function writeJson(fileName, content) {
- writeFileSync(fileName, JSON.stringify(content, null, 2));
+ writeFileSync(fileName, JSON.stringify(content, null, 2) + '\n');
}
const dirname = path.dirname(fileURLToPath(import.meta.url));