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 @@ ...@@ -7,7 +7,7 @@
"url" : "http://github.com/example/example.git" "url" : "http://github.com/example/example.git"
}, },
"engines": { "engines": {
"node": "0.10.18" "node": "8.x"
}, },
"dependencies": { "dependencies": {
"bower": "1.3.12" "bower": "1.3.12"
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"url" : "http://github.com/example/example.git" "url" : "http://github.com/example/example.git"
}, },
"engines": { "engines": {
"node": "0.10.18" "node": "8.x",
"npm": "5.x"
}, },
"dependencies": { "dependencies": {
"express": "latest" "express": "latest"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"url" : "http://github.com/example/example.git" "url" : "http://github.com/example/example.git"
}, },
"engines": { "engines": {
"node": "0.10.12", "node": "8.x",
"npm": "1.4.x" "npm": "5.7.x"
} }
} }
...@@ -536,7 +536,7 @@ testSameNpm() { ...@@ -536,7 +536,7 @@ testSameNpm() {
testNpmVersionRange() { testNpmVersionRange() {
compile "npm-version-range" compile "npm-version-range"
assertCaptured "Bootstrapping npm 1.4.x" assertCaptured "Bootstrapping npm 5.7.x"
assertCapturedSuccess assertCapturedSuccess
} }
...@@ -576,7 +576,7 @@ testDangerousRangeStar() { ...@@ -576,7 +576,7 @@ testDangerousRangeStar() {
compile "dangerous-range-star" compile "dangerous-range-star"
assertCaptured "Dangerous semver range" assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version *" assertCaptured "Resolving node version *"
assertCaptured "Downloading and installing node 9." assertCaptured "Downloading and installing node 10."
assertCapturedError assertCapturedError
} }
...@@ -584,14 +584,14 @@ testDangerousRangeGreaterThan() { ...@@ -584,14 +584,14 @@ testDangerousRangeGreaterThan() {
compile "dangerous-range-greater-than" compile "dangerous-range-greater-than"
assertCaptured "Dangerous semver range" assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version >0.4" assertCaptured "Resolving node version >0.4"
assertCaptured "Downloading and installing node 9." assertCaptured "Downloading and installing node 10."
assertCapturedError assertCapturedError
} }
testRangeWithSpace() { testRangeWithSpace() {
compile "range-with-space" compile "range-with-space"
assertCaptured "Resolving node version >= 0.8.x" assertCaptured "Resolving node version >= 0.8.x"
assertCaptured "Downloading and installing node 9." assertCaptured "Downloading and installing node 10."
assertCapturedSuccess 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