Expose a dummy gettext function in the Jasmine test env
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
"js/vendor/underscore-min.js",
|
||||
"js/vendor/backbone-min.js",
|
||||
"js/vendor/jquery.leanModal.min.js",
|
||||
"js/vendor/sinon-1.7.1.js"
|
||||
"js/vendor/sinon-1.7.1.js",
|
||||
"js/test/i18n.js"
|
||||
]
|
||||
}
|
||||
|
||||
1
common/static/js/test/i18n.js
Normal file
1
common/static/js/test/i18n.js
Normal file
@@ -0,0 +1 @@
|
||||
window.gettext = window.ngettext = function(){};
|
||||
Reference in New Issue
Block a user