diff --git a/package.json b/package.json index 1a684266ba..f631c895d9 100644 --- a/package.json +++ b/package.json @@ -98,6 +98,7 @@ "phantomjssmith": "~0.5.4", "protractor": "~0.14.0", "rimraf": "^2.2.8", + "sinon": "^1.12.2", "superagent": "~0.15.7", "superagent-defaults": "~0.1.5", "vinyl-source-stream": "^1.0.0", diff --git a/test/common/algos.mocha.coffee b/test/common/algos.mocha.coffee index 429edfb8af..f03754f792 100644 --- a/test/common/algos.mocha.coffee +++ b/test/common/algos.mocha.coffee @@ -6,7 +6,7 @@ expect = require 'expect.js' sinon = require 'sinon' moment = require 'moment' shared = require '../../common/script/index.coffee' -shared.i18n.translations = require('habitrpg/src/i18n.js').translations +shared.i18n.translations = require('../../website/src/i18n.js').translations test_helper = require './test_helper' test_helper.addCustomMatchers() $w = (s)->s.split(' ')