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/buzzfeed-1/expected.html | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 test/test-pages/buzzfeed-1/expected.html (limited to 'test/test-pages/buzzfeed-1/expected.html') diff --git a/test/test-pages/buzzfeed-1/expected.html b/test/test-pages/buzzfeed-1/expected.html new file mode 100644 index 0000000..bb632f7 --- /dev/null +++ b/test/test-pages/buzzfeed-1/expected.html @@ -0,0 +1,38 @@ +
+
+
+

The mother of a woman who took suspected diet pills bought online has described how her daughter was “literally burning up from within” moments before her death.

+

West Merica Police

+
+
+

Eloise Parry, 21, was taken to Royal Shrewsbury hospital on 12 April after taking a lethal dose of highly toxic “slimming tablets”.

+

“The drug was in her system, there was no anti-dote, two tablets was a lethal dose – and she had taken eight,” her mother, Fiona, said in a statement yesterday.

+

“As Eloise deteriorated, the staff in A&E did all they could to stabilise her. As the drug kicked in and started to make her metabolism soar, they attempted to cool her down, but they were fighting an uphill battle.

+

“She was literally burning up from within.”

+

She added: “They never stood a chance of saving her. She burned and crashed.”

+
+
+
+
+
+

Facebook

+
+
+
+

Facebook

+
+
+
+
+

West Mercia police said the tablets were believed to contain dinitrophenol, known as DNP, which is a highly toxic industrial chemical.

+

“We are undoubtedly concerned over the origin and sale of these pills and are working with partner agencies to establish where they were bought from and how they were advertised,” said chief inspector Jennifer Mattinson from the West Mercia police.

+

The Food Standards Agency warned people to stay away from slimming products that contained DNP.

+

“We advise the public not to take any tablets or powders containing DNP, as it is an industrial chemical and not fit for human consumption,” it said in a statement.

+
+
+

Fiona Parry issued a plea for people to stay away from pills containing the chemical.

+

“[Eloise] just never really understood how dangerous the tablets that she took were,” she said. “Most of us don’t believe that a slimming tablet could possibly kill us.

+

“DNP is not a miracle slimming pill. It is a deadly toxin.”

+
+
+
\ No newline at end of file -- cgit v1.2.3