jubilee/test/euronews.spec.js

810 lines
139 KiB
JavaScript
Raw Normal View History

const { reduceArticle } = require('../server/reducers/euronews');
const expect = require('expect.js');
const requestData = '<!DOCTYPE html>\n<html class="no-js"\n lang="en" >\n<head>\n\n <meta charset="UTF-8">\n <script async src="https://cdn.ampproject.org/v0.js"></script>\n <title>What next for EU-UK trade relations? | Euronews</title>\n<meta name="description" content="Business representatives mull post-Brexit trade ties at Brussels forum, as EU prepares to publish guidelines">\n<meta name="keywords" content="Brexit,Business,Foreign trade">\n<meta name="date.created" content="2018-03-05 15:23:00">\n<meta name="date.available" content="2018-03-05 15:23:00">\n<meta name="date.updated" content="2018-03-05 15:31:20">\n<meta name="date.modified" content="2018-03-05 15:31:20">\n<meta name="program.url" content="brussels-bureau">\n<meta name="news_keywords" content="Brexit,Business,Foreign trade">\n<link rel="canonical" href="http://www.euronews.com/2018/03/05/what-next-for-eu-uk-trade-relations-"/>\n<link rel="alternate" hreflang="en" href="http://www.euronews.com/2018/03/05/what-next-for-eu-uk-trade-relations-"/>\n<link rel="alternate" hreflang="fr" href="http://fr.euronews.com/2018/03/05/le-patronat-europeen-mobilise-sur-le-brexit"/>\n<link rel="alternate" hreflang="de" href="http://de.euronews.com/2018/03/05/europas-arbeitgeber-sehen-brexit-als-wachstumsrisiko"/>\n<link rel="alternate" hreflang="es" href="http://es.euronews.com/2018/03/05/la-patronal-europea-preocupada-sobre-la-futura-relacion-entre-el-reino-unido-y-la-ue"/>\n<link rel="alternate" hreflang="pt" href="http://pt.euronews.com/2018/03/05/europebusiness-assinala-60-anos-de-existencia-com-encontro-em-bruxelas"/>\n<link rel="alternate" hreflang="tr" href="http://tr.euronews.com/2018/03/05/brexit-avrupal-isadamlar-n-endiselendiriyor"/>\n<link rel="alternate" hreflang="hu" href="http://hu.euronews.com/2018/03/05/brexit-gyors-dontest-szeretnenek-az-europai-cegek"/>\n<link rel="alternate" hreflang="x-default" href="http://www.euronews.com/2018/03/05/what-next-for-eu-uk-trade-relations-"/>\n<meta property="og:locale" content="en" />\n<meta property="og:page_id" content="101402598109" />\n<meta property="og:pages" content="101402598109" />\n<meta property="og:site_name" content="euronews" />\n<meta property="og:title" content="What next for EU-UK trade relations?" />\n<meta property="og:description" content="Business leaders are desperate to get some clarity on post-Brexit trading. And, as the EU prepares to publish draft guidelines, the economic impact has been" />\n<meta property="og:type" content="article" />\n<meta property="og:article:publisher" content="euronews" />\n<meta property="og:image:width" content="1000" />\n<meta property="og:image:height" content="563" />\n<meta property="og:image:type" content="image/jpeg" />\n<meta property="og:image" content="http://static.euronews.com/articles/stories/03/09/39/70/1000x563_story-4780d804-bb87-561b-abe5-e43f95b0877f_467635.jpg" />\n<meta property="article:published_time" content="2018-03-05 15:23:00" />\n<meta property="article:modified_time" content="2018-03-05 15:31:20" />\n<meta property="article:section" content="news_news" />\n<meta property="og:video" content="https://video.euronews.com/mp4/med/EN/EU/BX/18/03/05/en/180305_EUBX_3188896_3188953_74000_152240_en.mp4" />\n\n<meta name="twitter:site" content="@euronews" />\n<meta name="twitter:title" content="What next for EU-UK trade relations?" />\n<meta name="twitter:description" content="Business representatives mull post-Brexit trade ties at Brussels forum, as EU prepares to publish guidelines" />\n<meta name="twitter:image" content="http://static.euronews.com/articles/stories/03/09/39/70/1000x563_story-4780d804-bb87-561b-abe5-e43f95b0877f_467635.jpg" />\n<meta name="twitter:image:alt" content="What next for EU-UK trade relations?" />\n<meta name="twitter:card" content="summary_large_image" />\n<meta property="fb:pages" content="101402598109" />\n<meta name="sponsored" content="no" />\n\n <!--[if IE]>\n<meta http-equiv="X-UA-Compatible" content="IE=edge"/>\n<![endif]-->\n<link rel="apple-touch-icon" sizes="57x57" hr
2018-04-11 15:14:43 +00:00
const goodOutput = { 'title':'What next for EU-UK trade relations?', 'image':'https://image.silvrtree.co.uk/640,fit,q80/http://static.euronews.com/articles/stories/03/09/39/70/1000x563_story-4780d804-bb87-561b-abe5-e43f95b0877f_467635.jpg', 'html':'\n <p>Business leaders are desperate to get some clarity on post-Brexit trading. And, as the EU prepares to publish draft guidelines, the economic impact has been the talk of the Business Europe event in Brussels.</p>\n<p>One German representative is frustrated by the uncertainty.</p>\n<p>&quot;It will be a bit difficult to start a new agreement from scratch. If you do not use one as an example where we can add things or delete things,&quot; Dieter Kempf, President of the Federation of German Industries (BDI), told Euronews.</p>\n<p>&quot;So my proposal be it, whatever, take Canada agreement and right off what you don&apos;t want and add what you want that is I think the only chance to come to an end in that short time-frame.&quot;</p>\n <div class="clear"></div>\n\n \n<h3>Stay united</h3><p>The EU&apos;s chief Brexit negotiator Michel Barnier took to the stage - and is calling on all to stand together under the cloudy Brexit sky.</p>\n<p>&quot;Stay together to prepare together because the same issues are common to all, and stay united to preserve our common, social and economic capital which is the single market,&quot; Barnier said. </p>\n<p>The clock&apos;s ticking, with talks on future relations due to end in October.</p>\n\n <div class="clear"></div>\n <div class="endbumper"></div>' };
const ampImgTest = `
<!DOCTYPE html>
<html class="no-js"
lang="en" >
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
<title>'No laughing matter': Police probe Savannah war statue prank | Euronews</title>
<meta name="description" content="Authorities in Savannah, Georgia, said they are treating the matter as a trespassing incident: &quot;Harming our historic monuments ... is no laughing matter.&quot;">
<meta name="keywords" content="USA,news">
<meta name="date.created" content="2018-10-16 13:35:00">
<meta name="date.available" content="2018-10-16 13:35:00">
<meta name="date.updated" content="2018-10-16 08:14:50">
<meta name="date.modified" content="2018-10-16 13:35:00">
<meta name="article:theme" content="news">
<meta name="program.url" content="world">
<meta name="news_keywords" content="USA,news">
<link rel="canonical" href="https://www.nbcnews.com/news/us-news/vandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211"/>
<link rel="alternate" hreflang="en" href="https://www.euronews.com/2018/10/16/vandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211"/>
<link rel="alternate" hreflang="x-default" href="https://www.euronews.com/2018/10/16/vandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211"/>
<meta property="og:locale" content="en" />
<meta property="og:page_id" content="101402598109" />
<meta property="og:pages" content="101402598109" />
<meta property="og:site_name" content="euronews" />
<meta property="og:title" content="'No laughing matter': Police probe Savannah war statue prank" />
<meta property="og:description" content="Authorities in Savannah, Georgia, said they are treating the matter as a trespassing incident: &quot;Harming our historic monuments ... is no laughing matter.&quot;" />
<meta property="og:type" content="article" />
<meta property="og:article:publisher" content="euronews" />
<meta property="og:image:width" content="1000" />
<meta property="og:image:height" content="563" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image" content="https://static.euronews.com/articles/3380492/1000x563_3380492.jpg" />
<meta property="article:published_time" content="2018-10-16 13:35:00" />
<meta property="article:modified_time" content="2018-10-16 13:35:00" />
<meta property="article:section" content="news_news" />
<meta name="twitter:site" content="@euronews" />
<meta name="twitter:title" content="'No laughing matter': Police probe Savannah war statue prank" />
<meta name="twitter:description" content="Authorities in Savannah, Georgia, said they are treating the matter as a trespassing incident: &quot;Harming our historic monuments ... is no laughing matter.&quot;" />
<meta name="twitter:image" content="https://static.euronews.com/articles/3380492/1000x563_3380492.jpg" />
<meta name="twitter:image:alt" content="'No laughing matter': Police probe Savannah war statue prank" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="fb:pages" content="101402598109" />
<meta name="sponsored" content="no" />
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<![endif]-->
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#003865">
<meta name="msapplication-TileColor" content="#003865">
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta name="apple-mobile-web-app-capable" content="no">
<meta name="apple-mobile-web-app-title" content="Euronews.com">
<meta name="application-name" content="Euronews.com" />
<meta name="msapplication-config" content="browserconfig.xml" />
<meta name="msapplication-tooltip" content="Euronews.com" />
<meta name="msapplication-window" content="width=1280;height=1024" />
<meta name="msapplication-navbutton-color" content="#003865" />
<meta name="msapplication-starturl" content="./" />
<meta name="msapplication-square70x70logo" content="/mstile-small.jpg"/>
<meta name="msapplication-square150x150logo" content="/mstile-medium.jpg"/>
<meta name="msapplication-wide310x150logo" content="/mstile-wide.jpg"/>
<meta name="msapplication-square310x310logo" content="/mstile-large.jpg"/>
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1">
<meta name="mobile-web-app-capable" content="no">
<link rel="home" href="/" title="homepage">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&amp;subset=cyrillic,greek" rel="stylesheet">
<style amp-custom>.row{max-width:75rem;margin-left:auto;margin-right:auto;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.row .row{margin-left:-.625rem;margin-right:-.625rem}@media screen and (min-width:40em){.row .row{margin-left:-.9375rem;margin-right:-.9375rem}}.row.expanded{max-width:none}.row.collapse>.column,.row.collapse>.columns{padding-left:0;padding-right:0}.row.collapse>.column>.row,.row.collapse>.columns>.row,.row.is-collapse-child{margin-left:0;margin-right:0}.column,.columns{-ms-flex:1 1 0px;flex:1 1 0px;padding-left:.625rem;padding-right:.625rem;min-width:initial}@media screen and (min-width:40em){.column,.columns{padding-left:.9375rem;padding-right:.9375rem}}.column.row.row,.row.row.columns{float:none;display:block}.row .column.row.row,.row .row.row.columns{padding-left:0;padding-right:0;margin-left:0;margin-right:0}.small-1{-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;max-width:8.33333%}.small-offset-0{margin-left:0}.small-2{-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.small-offset-1{margin-left:8.33333%}.small-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.small-offset-2{margin-left:16.66667%}.small-4{-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.small-offset-3{margin-left:25%}.small-5{-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;max-width:41.66667%}.small-offset-4{margin-left:33.33333%}.small-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.small-offset-5{margin-left:41.66667%}.small-7{-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;max-width:58.33333%}.small-offset-6{margin-left:50%}.small-8{-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;max-width:66.66667%}.small-offset-7{margin-left:58.33333%}.small-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.small-offset-8{margin-left:66.66667%}.small-10{-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;max-width:83.33333%}.small-offset-9{margin-left:75%}.small-11{-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;max-width:91.66667%}.small-offset-10{margin-left:83.33333%}.small-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.small-offset-11{margin-left:91.66667%}.small-order-1{-ms-flex-order:1;order:1}.small-order-2{-ms-flex-order:2;order:2}.small-order-3{-ms-flex-order:3;order:3}.small-order-4{-ms-flex-order:4;order:4}.small-order-5{-ms-flex-order:5;order:5}.small-order-6{-ms-flex-order:6;order:6}.small-up-1{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-1>.column,.small-up-1>.columns{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.small-up-2{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-2>.column,.small-up-2>.columns{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.small-up-3{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-3>.column,.small-up-3>.columns{-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.small-up-4{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-4>.column,.small-up-4>.columns{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.small-up-5{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-5>.column,.small-up-5>.columns{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.small-up-6{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-6>.column,.small-up-6>.columns{-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.small-up-7{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-7>.column,.small-up-7>.columns{-ms-flex:0 0 14.28571%;flex:0 0 14.28571%;max-width:14.28571%}.small-up-8{-ms-flex-wrap:wrap;flex-wrap:wrap}.small-up-8>.column,.small-up-8>.columns{-ms-flex:0 0 12.5%;flex:0 0 12.5%;max-width:12.5%}.small-collapse>.column,.small-collapse>.columns{padding-left:0;padding-right:0}.small-uncollapse>.column,.small-uncollapse>.columns{padding-left:.625rem;padding-right:.625rem}@media screen and (min-width:40em){.medium-1{-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;max-width:8.33333%}.medium-offset-0{margin-left:0}.medium-2{-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.medium-offset-1{margin-left:8.33333%}.medium-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.medium-offset-2{margin-left:16.66667%}.medium-4{-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.medium-offset-3{margin-left:25%}.medium-5{-ms-flex:0 0 41.66667%;fl
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"headline": "&#039;No laughing matter&#039;: Police probe Savannah war statue prank",
"datePublished": "2018-10-16 1:35pm",
"author": {
"@type": "Person",
"name" : " Euronews"
},
"publisher": {
"@type": "Organization",
"name": "Euronews"
},
"image": {
"@type" : "ImageObject",
"url" : "https://static.euronews.com/articles/3380492/320x180_3380492.jpg",
"height" : "338",
"width" : "602"
}
}
</script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
<script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script>
</head>
<body>
<main class="main-content row collapse">
<header class="small-12 column header">
<div class="row nested-row align-middle">
<div class="small-burger">
<label for="show-menu" class="show-menu">
<div id="hamburger-button" class="hamburger-button">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</label>
<input type="checkbox" id="show-menu" class="show-menu__input" role="button">
<aside id="hamburger-menu" class="hamburger-menu">
<div class="hamburger-menu-content" id="hamburger-menu-content">
<form class="searchBar" action="/search" target="_blank">
<input class="searchBar__input" name="query" placeholder="Search Euronews">
<button class="searchBar__btn">
<amp-img
src="https://static.euronews.com/website/images/vector/search-icon.svg"
alt="module_search_placeholder"
width=18px
height=24px
layout="fixed">
</amp-img>
</button>
</form>
<ul class="vertical menu">
<li>
<a href="/european-affairs/european-news"
class="">
<div>Europe</div>
</a>
</li>
<li>
<a href="/news/international"
class="">
<div>World</div>
</a>
</li>
<li>
<a href="/news/business"
class="">
<div>Business</div>
</a>
</li>
<li>
<a href="/news/sport"
class="">
<div>Sport</div>
</a>
</li>
<li>
<a href="/lifestyle/culture"
class="">
<div>Culture</div>
</a>
</li>
<li>
<a href="http://www.livingit.euronews.com/"
class="">
<div>Style </div>
</a>
</li>
<li>
<a href="/knowledge/sci-tech"
class="">
<div>Sci-tech</div>
</a>
</li>
<li>
<a href="/lifestyle/travel"
class="">
<div>Travel</div>
</a>
</li>
<li>
<a href="/video">
<div>Video</div>
</a>
</li>
<li>
<a href="/programs">
<div>All Programmes</div>
</a>
</li>
</ul>
<section class="bottom-links">
<ul class="bottom-links__list">
<li>
<a class="bottom-links__icon weather-icon"
href="/weather">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-navigation-weather.svg"
alt="All Weather"
width=18px
height=24px
layout="fixed">
</amp-img>
<span class="bottom-links__text">All Weather</span>
</a>
</li>
<li>
<a class="bottom-links__icon" href="/bulletin"
title="Bulletin">
<amp-img
src="https://static.euronews.com/website/images/vector/navigation-bulletin.svg"
alt="Bulletin"
width=18px
height=24px
layout="fixed">
</amp-img>
<span class="bottom-links__text">Bulletin</span>
</a>
</li>
<li>
<a class="bottom-links__icon" href="/widgets">
<amp-img
src="https://static.euronews.com/website/images/vector/icon-enveloppe.svg"
alt="Newsletter"
width=18px
height=24px
layout="fixed">
</amp-img>
<span class="bottom-links__text">Newsletter</span></a>
</li>
<li>
<a class="bottom-links__icon flight-icon"
href="//flights.euronews.com/en-GB/flights">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-flight.svg"
alt="Book your flight"
width=18px
height=24px
class="svg"
layout="fixed">
</amp-img>
<span class="bottom-links__text">Book your flight</span>
</a>
</li>
</ul>
</section>
<section class="bottom-social-links">
<span class="title">Join Us</span>
<ul class="social-links">
<li>
<a href="https://www.facebook.com/euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/bottom-facebook.svg"
width=28px
height=28px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://twitter.com/euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/bottom-twitter.svg"
width=28px
height=28px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://flipboard.com/@euronews" target="_blank">
<amp-img
src="https://cdn.flipboard.com/badges/flipboard_srrw.png"
width=28px
height=28px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://www.youtube.com/euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/bottom-youtube.svg"
width=28px
height=28px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://www.instagram.com/euronews.tv/" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/bottom-instagram.svg"
width=28px
height=28px
layout="fixed">
</amp-img>
</a>
</li>
</ul>
</section>
</div>
</aside>
</div>
<div class="small-2 column header__logo">
<a href="/">
<amp-img
src="https://static.euronews.com/website/images/euronews_horizontal_flat.svg"
width=112px
height=22px
layout="fixed">
</amp-img>
</a>
</div>
<div class="column text-end">
<ul>
<li class="header__video-logo">
<a href="/video" class="header__item"
title="Bulletin">
<amp-img
src="https://static.euronews.com/website/images/vector/navigation-bulletin.svg"
width=20px
height=20px
layout="fixed">
</amp-img>
</a>
</li>
<li class="header__justin-logo">
<a href="/just-in" class="header__item"
title="Just In">
<amp-img
src="https://static.euronews.com/website/images/vector/navigation-justin.svg"
width=20px
height=20px
layout="fixed">
</amp-img>
</a>
</li>
</ul>
</div>
</div>
</header>
<div class="small-12 column" itemscope itemtype="http://schema.org/NewsArticle">
<section class="row nested-row headline">
<div class="small-12 column">
<h1 itemprop="headline" class="media__body__title">
&#039;No laughing matter&#039;: Police probe Savannah war statue prank
</h1>
</div>
</section>
<section class="row nested-row align-middle article__header">
<div class="small-8 column">
<span class="c-article-meta__author-name--default">
<span itemprop="author" itemscope itemtype="https://schema.org/Person">
<span class="c-article-meta__by">By&nbsp;</span>
<span class="c-article-meta__add-reporting" itemprop="additionalName">Didi Martinez and Austin Mullen&nbsp;</span>
<span class="c-article-meta__with">with&nbsp;</span>
<span class="c-article-meta__external-source" itemprop="additionalName">NBC News U.S. News</span>
</span>
</span>
</div>
<div class="column text-end">
<meta itemprop="dateModified" content="2018-10-16"/>
<meta itemprop="datePublished" content="2018-10-16"/>
<time class="article__date" data-timestamp="1539689700"
datetime="2018-10-16">
16/10/2018
</time> </div>
</section>
<section class="row nested-row article js-responsive-iframes-container">
<div class="small-12 column media__img">
<amp-img class="media__img__obj" layout="responsive" width="602px" height="338px"
src="https://static.euronews.com/articles/3380492/602x338_3380492.jpg"
title="&#039;No laughing matter&#039;: Police probe Savannah war statue prank" alt="&#039;No laughing matter&#039;: Police probe Savannah war statue prank">
<noscript>
<img src="https://static.euronews.com/articles/3380492/281x158_3380492.jpg"/>
</noscript>
</amp-img>
</div>
<div class="small-12 column">
<div class="row collapse c-social-share">
<p class="column small-12 text-center c-social-share__title">Share this article</p>
<ul class="column small-12 align-center c-social-share__list">
<li class="c-social-share__list--facebook text-center">
<a target="_blank" href="https://www.facebook.com/share.php?u=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&#039;,&#039;%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank" >
<amp-img
class="c-social-share__icon"
alt="facebook"
src="https://static.euronews.com/website/images/vector/social-icons/social_icon_fb.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Share</span>
</a>
</li>
<li class="c-social-share__list--twitter text-center">
<a target="_blank" href="https://twitter.com/intent/tweet?text=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&amp;url=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&#039;,&#039;%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank" >
<amp-img
class="c-social-share__icon"
alt="twitter"
src="https://static.euronews.com/website/images/vector/social-icons/social_icon_twitter.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Tweet</span>
</a>
</li>
<li class="c-social-share__list--flipboard text-center">
<a target="_blank" href="https://share.flipboard.com/bookmarklet/popout?ext=sharethis&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&amp;url=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211" >
<amp-img
class="c-social-share__icon"
alt="flipboard"
src="https://static.euronews.com/website/images/vector/social-icons/flipboard_logo.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Share</span>
</a>
</li>
<li class="c-social-share__list--reddit text-center">
<a target="_blank" href="https://www.reddit.com/submit?url=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&#039;,&#039;%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank" >
<amp-img
class="c-social-share__icon"
alt="reddit"
src="https://static.euronews.com/website/images/vector/social-icons/social_icon_reddit.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Share</span>
</a>
</li>
</ul>
</div>
</div>
<div class="small-12 column article__content" itemprop="articleBody">
<p>They are not amused.</p>
<p>City officials in Savannah, Georgia, are asking for the public's help to catch a prankster after a marble monument honoring a Revolutionary War general was vandalized last week with a set of googly, cartoonish eyes stuck to his bronze face.</p>
<p>After the apparent practical joke on the statue of Gen. Nathanael Greene was first reported to police Thursday, authorities said they are treating the matter as trespassing.</p>
<p>"Honestly, it is a situation we need to look into because we don't want people to go around defacing things," Savannah police spokeswoman Keturah Greene, no relation to the general, said Monday. "We don't want it to get out of hand."</p>
<p><div class="widget">
<div class="widget__wrapper">
<figure class="widget__figure">
<amp-img src="https://static.euronews.com/articles/3380492/400x276_nbc-181015-savannah-statue-googly-eyes-se-1153a_22d55fdd24e092eee9faccc4668ee423.jpg" layout="responsive" height="180" width="320" alt="The statue of American war hero Nathanael Greene in Johnson Square in Savannah, Georgia, had a new set of eyes placed on its face. Police say the investigation remains ongoing and are considering the case a trespassing incident. "></amp-img>
<span class="widget__captionText">The statue of American war hero Nathanael Greene in Johnson Square in Savannah, Georgia, had a new set of eyes placed on its face. Police say the investigation remains ongoing and are considering the case a trespassing incident. </span>
<span class="widget__captionCredit">City of Savannah</span>
</figure>
</div>
</div>
</p>
<p>In a Facebook post last week, the city of Savannah warned that they would find the culprit and asked people to take it seriously.</p>
<div class="clear"></div>
</div>
<div class="small-12 column article__ad">
<amp-ad width="300" height="250"
type="doubleclick"
data-slot="/6458/euronews_new/programs-news/world"
data-aax_size="300x250"
layout=fixed
json='{&quot;targeting&quot;:{&quot;lng&quot;:[&quot;en&quot;],&quot;page&quot;:[&quot;article&quot;],&quot;tags&quot;:[&quot;usa&quot;,&quot;news&quot;],&quot;nws_id&quot;:[&quot;565948&quot;],&quot;nwsctr_id&quot;:[&quot;3380492&quot;],&quot;themes&quot;:[&quot;news&quot;],&quot;video&quot;:[&quot;false&quot;],&quot;source&quot;:[&quot;euronews&quot;],&quot;AMP&quot;:[&quot;1&quot;]},&quot;posn&quot;:[&quot;atf&quot;]}'
></amp-ad>
</div>
<div class="small-12 column article__content" itemprop="articleBody">
<p>"Who did this?! Someone placed googly eyes on our historic #NathanaelGreene statue in #JohnsonSquare. It may look funny but harming our historic monuments and public property is no laughing matter, in fact, it's a crime. We are hoping to find the person responsible!"</p>
<p>Greene's ties to Savannah span from after the American Revolution when the state of Georgia granted him the Mulberry Grove Plantation in honor of his service. The general later died near the city on June 19, 1786.</p>
<p>Michelle Gavin, a city spokeswoman, told NBC News that the eyes have since been removed and there was no harm done to the statue.</p>
<p>She added that while nothing similar has been done to any other sculptures in the area before, the city has filed a police report.</p>
<p>Despite the city's earlier plea, Facebook users poked fun at the incident, writing the statue was "vandaleyesed."</p>
<div class="clear"></div>
</div>
<div class="small-12 column text-center article__button">
<a href="/2018/10/16/vandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211">
<span>View on euronews</span>
</a>
</div>
</section>
<section class="row nested-row article__footer">
<div class="row collapse c-social-share">
<p class="column small-12 text-center c-social-share__title">Share this article</p>
<ul class="column small-12 align-center c-social-share__list">
<li class="c-social-share__list--facebook text-center">
<a target="_blank" href="https://www.facebook.com/share.php?u=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&#039;,&#039;%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank" >
<amp-img
class="c-social-share__icon"
alt="facebook"
src="https://static.euronews.com/website/images/vector/social-icons/social_icon_fb.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Share</span>
</a>
</li>
<li class="c-social-share__list--twitter text-center">
<a target="_blank" href="https://twitter.com/intent/tweet?text=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&amp;url=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&#039;,&#039;%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank" >
<amp-img
class="c-social-share__icon"
alt="twitter"
src="https://static.euronews.com/website/images/vector/social-icons/social_icon_twitter.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Tweet</span>
</a>
</li>
<li class="c-social-share__list--flipboard text-center">
<a target="_blank" href="https://share.flipboard.com/bookmarklet/popout?ext=sharethis&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&amp;url=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211" >
<amp-img
class="c-social-share__icon"
alt="flipboard"
src="https://static.euronews.com/website/images/vector/social-icons/flipboard_logo.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Share</span>
</a>
</li>
<li class="c-social-share__list--reddit text-center">
<a target="_blank" href="https://www.reddit.com/submit?url=https%3A%2F%2Fwww.nbcnews.com%2Fnews%2Fus-news%2Fvandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;title=%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank&#039;,&#039;%27No+laughing+matter%27%3A+Police+probe+Savannah+war+statue+prank" >
<amp-img
class="c-social-share__icon"
alt="reddit"
src="https://static.euronews.com/website/images/vector/social-icons/social_icon_reddit.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
<span>Share</span>
</a>
</li>
</ul>
</div>
<div class="small-12 column meta-tags">
<div class="row nested-row">
<div class="small-12 column text-center">
<p class="bottom-meta__title">More about</p>
</div>
<ul class="small-12 column bottom-meta__list text-center">
<li>
<a property="article:tag" class="bottom-meta__link" href="//www.euronews.com/tag/usa">USA</a>
</li>
<li>
<a property="article:tag" class="bottom-meta__link" href="//www.euronews.com/tag/news">news</a>
</li>
</ul>
</div>
</div>
<div id="newsletter-block" class="small-12 column article__ad">
<amp-ad width="300" height="250"
type="doubleclick"
data-slot="/6458/euronews_new/programs-news/world"
data-aax_size="300x250"
layout=fixed
json='{&quot;targeting&quot;:{&quot;lng&quot;:[&quot;en&quot;],&quot;page&quot;:[&quot;article&quot;],&quot;tags&quot;:[&quot;usa&quot;,&quot;news&quot;],&quot;nws_id&quot;:[&quot;565948&quot;],&quot;nwsctr_id&quot;:[&quot;3380492&quot;],&quot;themes&quot;:[&quot;news&quot;],&quot;video&quot;:[&quot;false&quot;],&quot;source&quot;:[&quot;euronews&quot;],&quot;AMP&quot;:[&quot;1&quot;]},&quot;posn&quot;:[&quot;btf&quot;]}'
></amp-ad>
</div>
</section>
<section class="row nested-row small-12 taboola-thumb-block">
<amp-embed
type=taboola
layout=fixed
width=600
height=300
data-publisher="euronews-network"
data-mode="thumbnails-a-amp"
data-placement="AMP Mobile Below Article"
data-target_type="mix"
data-article="auto">
</amp-embed>
</section>
</div>
<amp-analytics type="googleanalytics">
<script type="application/json">
{
"vars": {
"account": "UA-29726267-1"
},
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview"
}
},
"trackEvent": {
"selector": "#newsletter-block",
"on": "click",
"request": "event",
"vars": {
"eventCategory": "Newsletter-en-amp",
"eventAction": "Newsletter-en-amp-click"
}
}
}
</script>
</amp-analytics>
<amp-analytics type="comscore">
<script type="application/json">
{
"requests": {
"base": "//fr.sitestat.com/euronews/euronews/s?euronews-com.news.world.565948.vandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;lng=en&amp;thm=news&amp;prog=world&amp;srvn=euronews-com&amp;srvt=web&amp;cnt=txt&amp;cnts=article&amp;sv=2.0&amp;vtc=news&amp;tags=usa|news&amp;art_id=565948&amp;subj=vandalism-revolutionary-war-statue-googly-eyes-prompts-police-probe-n920211&amp;date=20181016&amp;type=st&amp;org=tv&amp;frm=euronews_nbc&amp;pfr=gglamp&"
},
"vars": {
"c2": "9330184"
}
}
</script>
</amp-analytics>
<amp-analytics type="adobeanalytics_nativeConfig">
<script type="application/json">
{
"requests": {
"iframeMessage": "//services.euronews.com/analytics/amp/euronews/en/565948?"
}
}
</script>
</amp-analytics>
<amp-analytics type="lotame">
<script type="application/json">
{
"vars": {
"account": "6320"
}
}
</script>
</amp-analytics>
<footer class="small-12 column">
<div class="footer">
<ul class="footer__list text-center">
<li>
<a href="https://www.facebook.com/euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-footer-facebook.svg"
width=30px
height=30px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://twitter.com/euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-footer-twitter.svg"
width=30px
height=30px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://flipboard.com/@euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-footer-flipboard.svg"
width= 30px
height= 30px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://www.youtube.com/euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-bottom-youtube.svg"
width=30px
height=30px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://www.linkedin.com/company/euronews" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-bottom-in.svg"
width=30px
height=30px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://www.dailymotion.com/euronews-en" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-footer-d.svg"
width=30px
height=30px
layout="fixed">
</amp-img>
</a>
</li>
<li>
<a href="https://www.instagram.com/euronews.tv/" target="_blank">
<amp-img
src="https://static.euronews.com/website/images/vector/amp/amp-footer-instagram.svg"
width=30px
height=30px
layout="fixed">
</amp-img>
</a>
</li>
</ul>
<div class="text-center footer__copyright">Copyright © euronews 2018 </div>
</div>
</footer>
</main>
</body>
</html>
`;
describe('Euronews', () => {
xit('should gracefully handle no data', done => {
2018-04-11 15:14:43 +00:00
expect(reduceArticle()).to.eql({});
done();
});
xit('Should process data correctly', done => {
expect(reduceArticle(requestData)).to.eql(goodOutput);
done();
});
it('Should process ampImg', done => {
expect(reduceArticle(ampImgTest)).to.eql(goodOutput);
done();
});
});