Browse Source

Update test.js

pull/1785/head
n8225 2 years ago
committed by GitHub
parent
commit
e59fb69742
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tests/test.js

4
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];

Loading…
Cancel
Save