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/iab-1/expected-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/test-pages/iab-1/expected-metadata.json (limited to 'test/test-pages/iab-1/expected-metadata.json') diff --git a/test/test-pages/iab-1/expected-metadata.json b/test/test-pages/iab-1/expected-metadata.json new file mode 100644 index 0000000..9ddd850 --- /dev/null +++ b/test/test-pages/iab-1/expected-metadata.json @@ -0,0 +1,6 @@ +{ + "title": "Getting LEAN with Digital Ad UX | IAB", + "byline": "By\n\t\t\tScott Cunningham", + "excerpt": "We messed up. As technologists, tasked with delivering content and services to users, we lost track of the user experience. Twenty years ago we saw an explosion of websites, built by developers around the world, providing all forms of content. This was the beginning of an age of enlightenment, the intersection of content and technology. … Continued", + "readerable": true +} -- cgit v1.2.3