diff --git a/Procfile b/Procfile index 4237dd23b3..397ed41c14 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ web: node index.js - +release: echo "making pizza...." && sleep 10 && echo "🍕" diff --git a/app.json b/app.json index 061d81f810..5817e5c50c 100644 --- a/app.json +++ b/app.json @@ -3,5 +3,17 @@ "description": "A barebones Node.js app using Express 4", "repository": "https://github.com/heroku/node-js-sample", "logo": "http://node-js-sample.herokuapp.com/node.svg", - "keywords": ["node", "express", "static"] + "keywords": ["node", "express", "static"], + "environments": { + "test": { + "formation": { + "test": { + "quantity": 16 + } + }, + "scripts": { + "test": "./bin/test" + } + } + } } diff --git a/bin/test b/bin/test new file mode 100755 index 0000000000..ea7890fbf9 --- /dev/null +++ b/bin/test @@ -0,0 +1,11 @@ +#!/bin/bash +echo "Running Tests..." +for i in {1..100000} + do + echo "ok $((i*10)) - test passed 🤖" + echo "not ok $((i*10+1)) - Something broke" + echo " # It's really borked" + echo "[Object object] { 💥 🤯 }" + echo "ok $((i*10+2))" + echo "pending $((i*10+3)) - stop faking tests" + done