Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
31cfb02d
Unverified
Commit
31cfb02d
authored
May 23, 2018
by
Jeremy Morrell
Committed by
GitHub
May 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests broken by Node 10 release and npm changes (#540)
parent
543b3753
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
package.json
test/fixtures/cache-directories/package.json
+1
-1
package.json
test/fixtures/caching/package.json
+2
-1
package.json
test/fixtures/npm-version-range/package.json
+2
-2
run
test/run
+4
-4
No files found.
test/fixtures/cache-directories/package.json
View file @
31cfb02d
...
...
@@ -7,7 +7,7 @@
"url"
:
"http://github.com/example/example.git"
},
"engines"
:
{
"node"
:
"
0.10.18
"
"node"
:
"
8.x
"
},
"dependencies"
:
{
"bower"
:
"1.3.12"
...
...
test/fixtures/caching/package.json
View file @
31cfb02d
...
...
@@ -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"
...
...
test/fixtures/npm-version-range/package.json
View file @
31cfb02d
...
...
@@ -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"
}
}
test/run
View file @
31cfb02d
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment