diff options
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 |
commit | 1d991bb4bc877363532971a74f70e55939c637bb (patch) | |
tree | 45f368639455f17ba45c377e770b7763c3a3bd59 /test | |
parent | f6a0bf1d7b4652a7dd04ed3340010ee2a6e47b7f (diff) |
upd8, data, test: export internal strings path cleanly, fix tests
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/content-function.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/content-function.js b/test/lib/content-function.js index 5cb499b1..24363e60 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 = ({ |