fix early exit in testcase generation

pull/611/head
PalmerAL 4 years ago
parent 656b11c287
commit 0a0f1c280b

@ -160,8 +160,6 @@ function runReadability(source, destPath, metadataDestPath) {
console.error("Couldn't write data to expected-metadata.json!");
console.error(metadataWriteErr);
}
process.exit(0);
});
});
}

@ -0,0 +1,8 @@
{
"title": "'What is the sea telling us?': Māori tribes fearful over whale strandings | Eleanor Ainge Roy",
"byline": "Eleanor Ainge Roy",
"dir": null,
"excerpt": "New Zealands whale whisperers worry that manmade changes in the ocean are behind the spike in beachings",
"siteName": "the Guardian",
"readerable": true
}

@ -0,0 +1,8 @@
{
"title": "New Zealand",
"byline": "Contributors to Wikimedia projects",
"dir": "ltr",
"excerpt": "Coordinates: 42°S 174°E / 42°S 174°E",
"siteName": "Wikimedia Foundation, Inc.",
"readerable": true
}

@ -0,0 +1,8 @@
{
"title": "These are the 8 coolest PlayStation VR games",
"byline": "Ben Silverman",
"dir": null,
"excerpt": "To help you decide whats what, Ive put together this list of the 8 PSVR games worth considering. Beloved cult hit “Rez” gets the VR treatment to help launch the PSVR, and the results are terrific. Chaos, for sure, and also “Thumper.” Called a “violent rhythm game” by its creators, “Thumper” is, well",
"siteName": null,
"readerable": true
}

@ -1,7 +1,8 @@
{
"title": "Yahoo News - Latest News & Headlines",
"byline": "NATALIYA VASILYEVA",
"dir": null,
"excerpt": "The latest news and headlines from Yahoo! News. Get breaking news stories and in-depth coverage with videos and photos.",
"readerable": true,
"siteName": null
"siteName": null,
"readerable": true
}

@ -3,6 +3,6 @@
"byline": "By GILLIAN MOHNEY\n March 11, 2015 3:46 PM",
"dir": "ltr",
"excerpt": "A photographer and Navy veteran is fighting back after a photo she posted to Facebook started an online backlash. Vanessa Hicks said she had no idea her photo would be considered controversial. The photo, from a military familys newborn photo shoot, showed a newborn infant wrapped in an American flag held by his father, who was in his military uniform. Hicks, a Navy veteran herself and the wife of an active-duty Navy member, said her intention was to honor the flag as well as her clients, who wanted to incorporate their military service in the photo shoot.",
"readerable": true,
"siteName": "Yahoo"
"siteName": "Yahoo",
"readerable": true
}

Loading…
Cancel
Save