Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 10, 2023
1 parent c4650ff commit 764b024
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generated by [AVA](https://avajs.dev).
{
audio: null,
author: 'Robert Shields',
date: '2016-04-15T00:00:00.000Z',
date: '2016-04-15T20:52:00.000Z',
description: 'My healthcare data is what I want protected the most (intimate details about my family’s health, where we live, and financial information). Anything and everything a hacker could want! It is safe? As a data security professional and citizen, I know the answer is not good.',
image: 'http://images.techhive.com/images/article/2016/04/blog-31_apr15_image-1-100656409-primary.idge.jpg',
lang: 'en',
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generated by [AVA](https://avajs.dev).
{
audio: null,
author: 'Reuters',
date: '2016-05-04T15:40:00.000Z',
date: '2016-05-04T12:00:00.000Z',
description: '‘One of the big causes for the stagnation of middle class wages is essentially because of clever computer programs,’ said David Siegel, co-chairman of Two Sigma.',
image: 'https://assets.entrepreneur.com/content/3x2/1300/20160504155601-GettyImages-174457162.jpeg',
lang: 'en',
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generated by [AVA](https://avajs.dev).
{
audio: null,
author: 'Lydia Dishman',
date: '2016-05-24T09:42:00.000Z',
date: '2016-05-24T21:27:05.000Z',
description: 'Lack of access to capital is a big challenge, but so is the lack of access to networks and advisors.',
image: 'http://b.fastcompany.net/multisite_files/fastcompany/imagecache/620x350/poster/2016/05/3060169-poster-p-1-one-of-the-biggest-challenges-of-getting-funding-for-minority-owned-business.jpg',
lang: 'en',
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generated by [AVA](https://avajs.dev).
{
audio: null,
author: 'Mark Emmons',
date: '2016-02-23T13:37:22.000Z',
date: '2016-02-23T12:00:00.000Z',
description: 'Here’s the thing about pendulums. They swing back and forth. It’s just what they do. Grandfather clocks. Amusement park rides. Economic trends. And throughout most of 2015, Silicon Valley observers were engaged in a spirited debate about whether or not the booming tech economy had peaked and if…',
image: 'http://www.leandatainc.com/wp-content/uploads/2016/02/Trees_blown.jpg',
lang: 'en',
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generated by [AVA](https://avajs.dev).
{
audio: null,
author: 'Los Angeles Times',
date: '2016-04-30T00:00:00.000Z',
date: '2016-05-02T10:03:18.000Z',
description: 'Tech start-up Appthority’s office has plush conference rooms, soundproof phone booths, an enormous kitchen and a view of San Francisco Bay. It has ping-pong and foosball tables, beer on tap and 11 types of tea.',
image: 'http://www.trbimg.com/img-572421a4/turbine/la-fi-tn-tech-downturn-20160429',
lang: 'en',
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generated by [AVA](https://avajs.dev).
{
audio: null,
author: 'Marisa Kendall',
date: '2016-04-20T01:52:32.000Z',
date: '2016-04-20T02:05:48.000Z',
description: 'It’s no secret that few women hold positions of power at venture capital firms. A new study quantifies what many in the industry have reported anecdotally. According to CrunchBase data released Tuesday on …',
image: 'http://www.siliconbeat.com/wp-content/uploads/2016/04/Panel.jpg',
lang: 'en',
Expand Down
Binary file not shown.
3 changes: 2 additions & 1 deletion packages/metascraper/test/integration/venture-beat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const url =

test('venture-beat', async t => {
const html = await readFile(resolve(__dirname, 'input.html'))
const metadata = await metascraper({ html, url })
const { date, ...metadata } = await metascraper({ html, url })
t.is(typeof date, 'string')
t.snapshot(metadata)
})
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Generated by [AVA](https://avajs.dev).
{
audio: null,
author: 'Paul Sawers',
date: '2016-04-21T04:30:14.000Z',
description: 'Forter, a security-focused company that brings real-time fraud-prevention technology to online retailers, has raised $32 million to continue its global growth and expand across the U.S.',
image: 'http://1u88jj3r4db2x4txp44yqfj1.wpengine.netdna-cdn.com/wp-content/uploads/2016/04/ecommerce-780x473.jpg',
lang: 'en',
Expand Down
Binary file not shown.

0 comments on commit 764b024

Please sign in to comment.