« get me outta code hell

upd8, data, test: export internal strings path cleanly, fix tests - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/lib
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-11-09 20:16:30 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-11-09 20:16:30 -0400
commit1d991bb4bc877363532971a74f70e55939c637bb (patch)
tree45f368639455f17ba45c377e770b7763c3a3bd59 /test/lib
parentf6a0bf1d7b4652a7dd04ed3340010ee2a6e47b7f (diff)
upd8, data, test: export internal strings path cleanly, fix tests
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/content-function.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/content-function.js b/test/lib/content-function.js
index 5cb499b..24363e6 100644
--- a/test/lib/content-function.js
+++ b/test/lib/content-function.js
@@ -8,7 +8,7 @@ import {getColors} from '#colors';
 import {quickLoadContentDependencies} from '#content-dependencies';
 import {quickEvaluate} from '#content-function';
 import * as html from '#html';
-import {processLanguageFile} from '#language';
+import {internalDefaultStringsFile, processLanguageFile} from '#language';
 import {empty, showAggregate} from '#sugar';
 import {generateURLs, thumb, urlSpec} from '#urls';
 
@@ -22,7 +22,7 @@ export function testContentFunctions(t, message, fn) {
   t.test(message, async t => {
     let loadedContentDependencies;
 
-    const language = await processLanguageFile('./src/strings-default.json');
+    const language = await processLanguageFile(internalDefaultStringsFile);
     const mocks = [];
 
     const evaluate = ({