Skip to content

Commit

Permalink
Add mode to karma configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Tocker committed Jan 28, 2019
1 parent 2dad6e3 commit fbcfb9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions karma.cloudinary-core.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions karma.cloudinary-jquery-file-upload.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions karma.cloudinary-jquery.js
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit fbcfb9a

Please sign in to comment.