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/mozilla-1/expected-metadata.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/test-pages/mozilla-1/expected-metadata.json (limited to 'test/test-pages/mozilla-1/expected-metadata.json') diff --git a/test/test-pages/mozilla-1/expected-metadata.json b/test/test-pages/mozilla-1/expected-metadata.json new file mode 100644 index 0000000..77ad264 --- /dev/null +++ b/test/test-pages/mozilla-1/expected-metadata.json @@ -0,0 +1,7 @@ +{ + "title": "Firefox — Customize and make it your own — The most flexible browser on the Web", + "byline": null, + "dir": "ltr", + "excerpt": "It’s easier than ever to personalize Firefox and make it work the way\n you do.\n No other browser gives you so much choice and flexibility.", + "readerable": true +} -- cgit v1.2.3