Unverified Commit 31cfb02d authored by Jeremy Morrell's avatar Jeremy Morrell Committed by GitHub

Fix tests broken by Node 10 release and npm changes (#540)

parent 543b3753
......@@ -7,7 +7,7 @@
"url" : "http://github.com/example/example.git"
},
"engines": {
"node": "0.10.18"
"node": "8.x"
},
"dependencies": {
"bower": "1.3.12"
......
......@@ -7,7 +7,8 @@
"url" : "http://github.com/example/example.git"
},
"engines": {
"node": "0.10.18"
"node": "8.x",
"npm": "5.x"
},
"dependencies": {
"express": "latest"
......
......@@ -7,7 +7,7 @@
"url" : "http://github.com/example/example.git"
},
"engines": {
"node": "0.10.12",
"npm": "1.4.x"
"node": "8.x",
"npm": "5.7.x"
}
}
......@@ -536,7 +536,7 @@ testSameNpm() {
testNpmVersionRange() {
compile "npm-version-range"
assertCaptured "Bootstrapping npm 1.4.x"
assertCaptured "Bootstrapping npm 5.7.x"
assertCapturedSuccess
}
......@@ -576,7 +576,7 @@ testDangerousRangeStar() {
compile "dangerous-range-star"
assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version *"
assertCaptured "Downloading and installing node 9."
assertCaptured "Downloading and installing node 10."
assertCapturedError
}
......@@ -584,14 +584,14 @@ testDangerousRangeGreaterThan() {
compile "dangerous-range-greater-than"
assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version >0.4"
assertCaptured "Downloading and installing node 9."
assertCaptured "Downloading and installing node 10."
assertCapturedError
}
testRangeWithSpace() {
compile "range-with-space"
assertCaptured "Resolving node version >= 0.8.x"
assertCaptured "Downloading and installing node 9."
assertCaptured "Downloading and installing node 10."
assertCapturedSuccess
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment