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/lifehacker-working/expected-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/test-pages/lifehacker-working/expected-metadata.json (limited to 'test/test-pages/lifehacker-working/expected-metadata.json') diff --git a/test/test-pages/lifehacker-working/expected-metadata.json b/test/test-pages/lifehacker-working/expected-metadata.json new file mode 100644 index 0000000..ead5dca --- /dev/null +++ b/test/test-pages/lifehacker-working/expected-metadata.json @@ -0,0 +1,6 @@ +{ + "title": "How to Program Your Mind to Stop Buying Crap You Don’t Need", + "byline": "Patrick Allan", + "excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store.", + "readerable": true +} -- cgit v1.2.3