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/ehow-1/expected-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/test-pages/ehow-1/expected-metadata.json (limited to 'test/test-pages/ehow-1/expected-metadata.json') diff --git a/test/test-pages/ehow-1/expected-metadata.json b/test/test-pages/ehow-1/expected-metadata.json new file mode 100644 index 0000000..4791011 --- /dev/null +++ b/test/test-pages/ehow-1/expected-metadata.json @@ -0,0 +1,6 @@ +{ + "title": "How to Build a Terrarium | eHow", + "byline": "Lucy Akins", + "excerpt": "How to Build a Terrarium. Glass cloche terrariums are not only appealing to the eye, but they also preserve a bit of nature in your home and serve as a simple, yet beautiful, piece of art. Closed terrariums are easy to care for, as they retain much of their own moisture and provide a warm environment with a consistent level of humidity. You...", + "readerable": true +} -- cgit v1.2.3