aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test.js
diff options
context:
space:
mode:
authorn8225 <n8225@users.noreply.github.com>2019-08-21 22:30:28 +0000
committerGitHub <noreply@github.com>2019-08-21 22:30:28 +0000
commite59fb697421086d21b3772f10508abe52aec5b5f (patch)
tree137cf98fd1d7f301175868f49722b8105b794bba /tests/test.js
parentUpdate .travis.yml (diff)
downloadawesome-selfhosted-e59fb697421086d21b3772f10508abe52aec5b5f.tar.gz
awesome-selfhosted-e59fb697421086d21b3772f10508abe52aec5b5f.zip
Update test.js
Diffstat (limited to 'tests/test.js')
-rw-r--r--tests/test.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test.js b/tests/test.js
index ee3867e8..6516ab07 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -52,6 +52,10 @@ function entryErrorCheck(md) {
let totalPass = 0;
let total = 0;
const entryArray = [];
+ if (entries[0] === "") {
+ console.log("0 Entries")
+ process.exit(0)
+ }
for (let i = 0, len = entries.length; i < len; i += 1) { // Loop to create array of objects
entryArray[i] = new Object;
entryArray[i].raw = entries[i];