We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f96f4 commit 98110f1Copy full SHA for 98110f1
Gruntfile.js
@@ -88,7 +88,8 @@ module.exports = function(grunt) {
88
src: 'test/*.js',
89
options: {
90
reporter: 'dot',
91
- }
+ require: require.resolve('./test/helpers/use-english.js'),
92
+ },
93
},
94
'unit-xml': {
95
test/helpers/use-english.js
@@ -0,0 +1,10 @@
1
+'use strict';
2
+
3
+var env = process.env;
4
5
+// delete any user-provided language settings
6
+delete env.LC_ALL;
7
+delete env.LC_MESSAGES;
8
+delete env.LANG;
9
+delete env.LANGUAGE;
10
+delete env.STRONGLOOP_GLOBALIZE_APP_LANGUAGE;
test/mocha.opts
@@ -0,0 +1 @@
+--require ./test/helpers/use-english
0 commit comments