Skip to content

Commit

Permalink
Added process to global in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed May 2, 2016
1 parent 3473cf6 commit b295e6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/globals.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// global variables for karma
window.process = { env: { NODE_ENV: 'production'} };
1 change: 1 addition & 0 deletions test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ module.exports = function(config) {
},

files: [
'test/globals.js',
'fastdom.js',
'extensions/fastdom-promised.js',
'extensions/fastdom-sandbox.js',
Expand Down

0 comments on commit b295e6d

Please # to comment.