Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Feb 25, 2024
1 parent 611948f commit 7ff9f6e
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 1,235 deletions.
30 changes: 0 additions & 30 deletions packages/metascraper/test/integration/geek-time/index.js

This file was deleted.

1,180 changes: 0 additions & 1,180 deletions packages/metascraper/test/integration/geek-time/input.html

This file was deleted.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Generated by [AVA](https://avajs.dev).
description: 'Want to get more Likes on Facebook in 2021? No problem. To increase Likes on your FB page, you need to boost Likes on your FB posts. Here’s how to do that.',
image: 'https://www.postplanner.com/hubfs/blog/11_Ways_to_Get_Lots_of_Likes_on_Facebook_(the_right_way)/11%20Ways%20to%20Get%20Lots%20of%20Likes%20on%20Facebook%20(the%20right%20way!!)%20hero.png#keepProtocol',
lang: null,
logo: 'https://www.postplanner.com/favicon.ico',
logo: 'https://cdn2.hubspot.net/hubfs/513577/v2/global/favicon.ico',
publisher: 'Post Planner',
title: 'Here’s How to Get More Likes on Facebook in 2021 (and Reach Millions)',
url: 'https://www.postplanner.com/get-more-likes-fans-facebook-page/',
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions packages/metascraper/test/integration/segment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ const url = 'https://segment.com/blog/scaling-nsq'
test('segment', async t => {
const html = await readFile(resolve(__dirname, 'input.html'))
const metadata = await metascraper({ html, url })
metadata.logo.replace('t3.gstatic.com', 't1.gstatic.com')
t.snapshot(metadata)
})
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Generated by [AVA](https://avajs.dev).
description: 'Segment is the analytics API you’ve always wanted. It’s the easiest way to install all of your favorite analytics tools at once!',
image: 'https://c19f7be2e84987e7904e-bf41efcb49679c193a4ec0f3210da86f.ssl.cf1.rackcdn.com/photos/40528-1-1.jpg',
lang: null,
logo: 'https://segment.com/favicon.ico',
logo: 'https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://segment.com/blog/scaling-nsq&size=128',
publisher: 'Segment Blog',
title: 'Scaling NSQ to 750 Billion Messages',
url: 'https://segment.com/blog/scaling-nsq',
Expand Down
Binary file not shown.

0 comments on commit 7ff9f6e

Please sign in to comment.