Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Lots of fake tests #135

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: node index.js

release: echo "making pizza...." && sleep 10 && echo "🍕"
14 changes: 13 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
11 changes: 11 additions & 0 deletions bin/test
Original file line number Diff line number Diff line change
@@ -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