diff --git a/services/spelling/test/unit/coffee/ASpellTests.coffee b/services/spelling/test/unit/coffee/ASpellTests.coffee index 1170f6baa1..a569282982 100644 --- a/services/spelling/test/unit/coffee/ASpellTests.coffee +++ b/services/spelling/test/unit/coffee/ASpellTests.coffee @@ -6,7 +6,10 @@ assert = require("chai").assert describe "ASpell", -> beforeEach -> - @ASpell = SandboxedModule.require "../../../app/js/ASpell", requires:{} + @ASpell = SandboxedModule.require "../../../app/js/ASpell", requires: + "logger-sharelatex": + log:-> + err:-> describe "a correctly spelled word", -> beforeEach (done) -> diff --git a/services/spelling/test/unit/coffee/LearnedWordsManagerTests.coffee b/services/spelling/test/unit/coffee/LearnedWordsManagerTests.coffee index 984beb37b8..6cbe6af9c9 100644 --- a/services/spelling/test/unit/coffee/LearnedWordsManagerTests.coffee +++ b/services/spelling/test/unit/coffee/LearnedWordsManagerTests.coffee @@ -19,6 +19,10 @@ describe "LearnedWordsManager", -> @LearnedWordsManager = SandboxedModule.require modulePath, requires: "./DB" : @db "./MongoCache":@cache + "logger-sharelatex": + log:-> + err:-> + info:-> describe "learnWord", -> beforeEach ->