diff --git a/karma.cloudinary-core.js b/karma.cloudinary-core.js index 173b2b81..b0bc0d40 100644 --- a/karma.cloudinary-core.js +++ b/karma.cloudinary-core.js @@ -1,8 +1,8 @@ // Karma configuration // Generated on Tue Jul 28 2015 09:31:57 GMT+0300 (IDT) -let isProd = mode === 'production'; +let isProd = process.env.mode === 'production'; let mode = isProd ? 'production' : 'development'; -console.log(`mode is ${mode}`); +console.log(`Mode is ${mode}`); module.exports = function(config) { return config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) diff --git a/karma.cloudinary-jquery-file-upload.js b/karma.cloudinary-jquery-file-upload.js index 8a23416f..e58c36e9 100644 --- a/karma.cloudinary-jquery-file-upload.js +++ b/karma.cloudinary-jquery-file-upload.js @@ -1,8 +1,8 @@ // Karma configuration // Generated on Tue Jul 28 2015 09:31:57 GMT+0300 (IDT) -let isProd = mode === 'production'; +let isProd = process.env.mode === 'production'; let mode = isProd ? 'production' : 'development'; -console.log(`mode is ${mode}`); +console.log(`Mode is ${mode}`); module.exports = function(config) { return config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) diff --git a/karma.cloudinary-jquery.js b/karma.cloudinary-jquery.js index b675e478..0e043f4f 100644 --- a/karma.cloudinary-jquery.js +++ b/karma.cloudinary-jquery.js @@ -1,8 +1,8 @@ // Karma configuration // Generated on Tue Jul 28 2015 09:31:57 GMT+0300 (IDT) -let isProd = mode === 'production'; +let isProd = process.env.mode === 'production'; let mode = isProd ? 'production' : 'development'; -console.log(`mode is ${mode}`); +console.log(`Mode is ${mode}`); module.exports = function(config) { return config.set({ // base path that will be used to resolve all patterns (eg. files, exclude)