mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Correct path of translations mock
This commit is contained in:
parent
8fe4d9a5a8
commit
62f12cf8b5
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ module.exports = function(grunt) {
|
|||
require('coffee-script');
|
||||
var i18n = require('./website/src/i18n'),
|
||||
fs = require('fs');
|
||||
fs.writeFileSync('test/spec/translations.js',
|
||||
fs.writeFileSync('test/spec/mocks/translations.js',
|
||||
"if(!window.env) window.env = {};\n" +
|
||||
"window.env.translations = " + JSON.stringify(i18n.translations['en']) + ';');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue