From 3ec5546359239f66714ae6eb5257810877202a52 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Wed, 7 Dec 2016 09:59:02 +0000 Subject: Added some basic Unit Testing. HTML samples taken from readability.js --- test/test-pages/clean-links/expected-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/test-pages/clean-links/expected-metadata.json (limited to 'test/test-pages/clean-links/expected-metadata.json') diff --git a/test/test-pages/clean-links/expected-metadata.json b/test/test-pages/clean-links/expected-metadata.json new file mode 100644 index 0000000..c7b4e36 --- /dev/null +++ b/test/test-pages/clean-links/expected-metadata.json @@ -0,0 +1,6 @@ +{ + "title": "Bartleby the Scrivener Web Study Text", + "byline": null, + "excerpt": "Ere introducing the scrivener, as he first appeared to me, it is fit \n I make some mention of myself, my employees, my business, my chambers, \n and general surroundings; because some such description is indispensable \n to an adequate understanding of the chief character about to be presented.", + "readerable": true +} -- cgit v1.2.3