Skip to content

Commit 031c65e

Browse files
author
Danielle Adams
committed
clean up node versions for tests and add all metrics supported tests
1 parent f949185 commit 031c65e

File tree

20 files changed

+153
-61
lines changed

20 files changed

+153
-61
lines changed

test/fixtures/node-10-npm-ci/package-lock.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

test/fixtures/node-10/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
"type" : "git",
77
"url" : "http://github.com/example/example.git"
88
},
9-
"dependencies": {
10-
"hashish": "*"
11-
},
129
"engines": {
1310
"node": "10.x"
1411
},

test/fixtures/node-11/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A fake README, to keep npm from polluting stderr.

test/fixtures/node-11/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "node-buildpack-test-app",
3+
"version": "0.0.1",
4+
"description": "node buildpack integration test app",
5+
"repository" : {
6+
"type" : "git",
7+
"url" : "http://github.com/example/example.git"
8+
},
9+
"engines": {
10+
"node": "11.x"
11+
},
12+
"scripts": {
13+
"start": "node foo.js"
14+
}
15+
}

test/fixtures/node-12/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A fake README, to keep npm from polluting stderr.

test/fixtures/node-12/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "node-buildpack-test-app",
3+
"version": "0.0.1",
4+
"description": "node buildpack integration test app",
5+
"repository" : {
6+
"type" : "git",
7+
"url" : "http://github.com/example/example.git"
8+
},
9+
"engines": {
10+
"node": "12.x"
11+
},
12+
"scripts": {
13+
"start": "node foo.js"
14+
}
15+
}

test/fixtures/node-13/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A fake README, to keep npm from polluting stderr.

test/fixtures/node-13/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "node-buildpack-test-app",
3+
"version": "0.0.1",
4+
"description": "node buildpack integration test app",
5+
"repository" : {
6+
"type" : "git",
7+
"url" : "http://github.com/example/example.git"
8+
},
9+
"engines": {
10+
"node": "13.x"
11+
},
12+
"scripts": {
13+
"start": "node foo.js"
14+
}
15+
}

test/fixtures/node-10-npm-ci-no-lockfile/package.json renamed to test/fixtures/node-14-npm-ci-no-lockfile/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"url": "http://github.com/example/example.git"
88
},
99
"dependencies": {
10-
"hashish": "*"
10+
"@heroku/foreman": "^2.0"
1111
},
1212
"engines": {
13-
"node": "10.x"
13+
"node": "14.x"
1414
},
1515
"scripts": {
1616
"heroku-prebuild": "echo heroku-prebuild script",

test/fixtures/node-14-npm-ci/package-lock.json

Lines changed: 59 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)