Add test app checks-root
This commit is contained in:
2
tests/apps/checks-root/CHECKS
Normal file
2
tests/apps/checks-root/CHECKS
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ATTEMPTS=2
|
||||||
|
/
|
||||||
11
tests/apps/checks-root/index.js
Normal file
11
tests/apps/checks-root/index.js
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
var express = require('express');
|
||||||
|
var app = express();
|
||||||
|
|
||||||
|
app.get('/', function(req, res) {
|
||||||
|
res.sendStatus(404);
|
||||||
|
});
|
||||||
|
|
||||||
|
var port = process.env.PORT || 5000;
|
||||||
|
app.listen(port, function() {
|
||||||
|
console.log('Listening on port ' + port);
|
||||||
|
});
|
||||||
14
tests/apps/checks-root/package.json
Normal file
14
tests/apps/checks-root/package.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "node-example",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"dependencies": {
|
||||||
|
"express": "4.x"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "0.12.x",
|
||||||
|
"npm": "2.x"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "node index.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user