Skip to content

Commit

Permalink
Fix node tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultzanini committed Oct 26, 2017
1 parent 16ae084 commit bbac455
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,15 @@
"frb": "~4.0.x",
"htmlparser2": "~3.0.5",
"jshint": "^2.9.5",
"moment-timezone": "^0.5.11",
"q-io": "^1.13.3",
"weak-map": "^1.0.5",
"xhr2": "^0.1.4",
"lodash.kebabcase": "^4.1.1",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
"lodash.snakecase": "^4.1.1",
"lodash.trim": "^4.5.1",
"moment-timezone": "^0.5.11",
"mr": "montagejs/mr#commonjs",
"proxy-polyfill": "~0.1.7",
"lodash.snakecase": "^4.1.1"
"q-io": "^1.13.3",
"weak-map": "^1.0.5"
},
"devDependencies": {
"concurrently": "^3.4.0",
Expand All @@ -80,7 +79,8 @@
"montage-testing": "git://github.com/montagejs/montage-testing.git#master",
"mop-integration": "git://github.com/montagejs/mop-integration.git#master",
"open": "0.0.5",
"webpack": "^3.5.3"
"webpack": "^3.5.3",
"xmlhttprequest": "^1.8.0"
},
"scripts": {
"test": "node test/run-node.js",
Expand Down
2 changes: 1 addition & 1 deletion test/run-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jasmineEnv.addReporter({
});

// Execute
global.XMLHttpRequest = require('xhr2');
global.XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;

var mrRequire = require('../montage');
//var mrRequire = require('mr');
Expand Down

0 comments on commit bbac455

Please sign in to comment.