summaryrefslogtreecommitdiff
path: root/test/test-translator.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-08 21:01:55 -0500
committerGitHub <noreply@github.com>2021-03-08 21:01:55 -0500
commitc6f4144fda0f07ddfc84ebee1960264c968d156b (patch)
tree23e1a7de5c3d6ff0ce1743726322d1d5005434dc /test/test-translator.js
parent643dbfb12a66b98b2fabe82416322f0218474567 (diff)
Clean up translator (#1505)
* Remove unused: _removeUsedDefinitions * Remove unused: _scoreToTermFrequency * Remove unused: _getTermTagsScoreSum * Add RegexUtil * Update Translator to use RegexUtil * Update sw.js * Update tests
Diffstat (limited to 'test/test-translator.js')
-rw-r--r--test/test-translator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-translator.js b/test/test-translator.js
index 09f1ee62..307329d0 100644
--- a/test/test-translator.js
+++ b/test/test-translator.js
@@ -44,6 +44,7 @@ async function createVM() {
'js/language/dictionary-importer.js',
'js/data/database.js',
'js/language/dictionary-database.js',
+ 'js/general/regex-util.js',
'js/general/text-source-map.js',
'js/language/deinflector.js',
'js/language/translator.js'