aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorn8225 <n8225@users.noreply.github.com>2019-08-21 22:49:58 +0000
committerGitHub <noreply@github.com>2019-08-21 22:49:58 +0000
commitae6683e6674f54954ff711ce0d62d8c0a8c965a8 (patch)
treea967bf4aa5f697a67be90283ff27332d7355906f /tests
parentMerge pull request #1782 from worldworm/master (diff)
parentUpdate .travis.yml (diff)
downloadawesome-selfhosted-ae6683e6674f54954ff711ce0d62d8c0a8c965a8.tar.gz
awesome-selfhosted-ae6683e6674f54954ff711ce0d62d8c0a8c965a8.zip
Merge pull request #1785 from Kickball/n8225-patch-1-1
Update .travis.yml
Diffstat (limited to 'tests')
-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];