Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 6, 2024
1 parent d923747 commit 7e12056
Show file tree
Hide file tree
Showing 44 changed files with 42,436 additions and 195,758 deletions.
21,793 changes: 8,186 additions & 13,607 deletions packages/metascraper-amazon/test/fixtures/amazon-co-uk/product-url.html

Large diffs are not rendered by default.

24,211 changes: 8,518 additions & 15,693 deletions packages/metascraper-amazon/test/fixtures/amazon-com/ansi-url.html

Large diffs are not rendered by default.

24,465 changes: 9,405 additions & 15,060 deletions packages/metascraper-amazon/test/fixtures/amazon-com/product-url.html

Large diffs are not rendered by default.

52,846 changes: 9,777 additions & 43,069 deletions packages/metascraper-amazon/test/fixtures/amazon-es/product-url.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions packages/metascraper-amazon/test/snapshots/index.js.md
Expand Up @@ -9,9 +9,9 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
author: 'Mat Follas',
description: 'Buy Vegetable Perfection: 100 delicious recipes for roots, bulbs, shoots and stems by Mat Follas (ISBN: 9781849757096) from Amazon’s Book Store. Everyday low prices and free delivery on eligible orders.',
image: 'https://images-eu.ssl-images-amazon.com/images/I/61Q2c36lYeL._SX218_BO1,204,203,200_QL40_.jpg',
author: 'Mat Follas (Author)',
description: 'Buy Vegetable Perfection: 100 delicious recipes for roots, bulbs, shoots and stems by Follas, Mat (ISBN: 9781849757096) from Amazon’s Book Store. Everyday low prices and free delivery on eligible orders.',
image: 'https://m.media-amazon.com/images/I/91EpHNSPFnL._SL1500_.jpg',
lang: 'en',
logo: null,
publisher: 'Amazon',
Expand All @@ -24,9 +24,9 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
author: 'SainSmart',
description: 'Buy SainSmart 4-Channel Relay Module: Everything Else - Amazon.com ✓ FREE DELIVERY possible on eligible purchases',
image: 'https://images-na.ssl-images-amazon.com/images/I/51M0KK9HuHL._SY300_QL70_.jpg',
author: 'Visit the SainSmart Store',
description: 'Buy SainSmart 4-Channel Relay Module: Relay Control Module - Amazon.com ✓ FREE DELIVERY possible on eligible purchases',
image: 'https://m.media-amazon.com/images/W/MEDIAX_792452-T2/images/I/71p1Oe9knSL._AC_SL1200_.jpg',
lang: 'en',
logo: null,
publisher: 'Amazon',
Expand All @@ -39,13 +39,13 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
author: 'David Baldacci',
description: 'The Whole Truth (A. Shaw Book 1) - Kindle edition by David Baldacci. Download it once and read it on your Kindle device, PC, phones or tablets. Use features like bookmarks, note taking and highlighting while reading The Whole Truth (A. Shaw Book 1).',
image: 'https://images-na.ssl-images-amazon.com/images/I/519trKzgiKL._SY346_.jpg',
author: 'David Baldacci (Author) Format: Kindle Edition',
description: 'The Whole Truth (A. Shaw Book 1) - Kindle edition by Baldacci, David. Download it once and read it on your Kindle device, PC, phones or tablets. Use features like bookmarks, note taking and highlighting while reading The Whole Truth (A. Shaw Book 1).',
image: 'https://m.media-amazon.com/images/W/MEDIAX_792452-T2/images/I/91c7gvGFyvL._SL1500_.jpg',
lang: 'en',
logo: null,
publisher: 'Amazon',
title: 'The Whole Truth (A. Shaw Book 1) Kindle Edition',
title: 'The Whole Truth (A. Shaw Book 1)',
url: 'https://www.amazon.com/Whole-Truth-Shaw-Book-ebook/dp/B0011UCPM4',
}

Expand All @@ -54,12 +54,12 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
author: 'Cecotec',
description: 'Compra Cecotec Conga Excellence 990, Robot Aspirador 4 en 1. iTech 3.0. Programable 24h. 5 Modos de Limpieza. Precios bajos todos los días en Amazon.',
image: 'https://images-na.ssl-images-amazon.com/images/I/81lde%2B541vL._SL1500_.jpg',
author: 'Visita la tienda de Cecotec',
description: 'Compra Cecotec Robot Limpiacristales Windroid 880 SprayWater Smart Connected. 90 W, Pulveriza, Limpia y Seca, Control por App y Mando a Distancia, 4 Programas, Cable 5,5m, Incluye 12 Paños. Precios bajos todos los días en Amazon.',
image: 'https://m.media-amazon.com/images/I/51MbJoAi-xL._AC_SS260_.jpg',
lang: 'es',
logo: null,
publisher: 'Amazon',
title: 'Cecotec Conga Excellence 990, Robot Aspirador 4 en 1. iTech 3.0. Programable 24h. 5 Modos de Limpieza',
url: 'https://www.amazon.es/aspirador-Excellence-Programable-limpieza-Silencioso/dp/B01MUGXRT9',
title: 'Cecotec Robot Limpiacristales Windroid 880 SprayWater Smart Connected. 90 W, Pulveriza, Limpia y Seca, Control por App y Mando a Distancia, 4 Programas, Cable 5,5m, Incluye 12 Paños',
url: 'https://www.amazon.es/Cecotec-Excellence-Aspirador-Programable-Limpieza/dp/B01MUGXRT9',
}
Binary file modified packages/metascraper-amazon/test/snapshots/index.js.snap
Binary file not shown.
4,076 changes: 2,944 additions & 1,132 deletions packages/metascraper-soundcloud/test/fixtures/song.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/metascraper-soundcloud/test/snapshots/index.js.md
Expand Up @@ -9,12 +9,12 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
{
author: 'Beauty Brain',
author: 'Beauty Brain Verified',
date: '2014-01-27T16:19:55.000Z',
description: 'Thanks for 5.000 likes on https://www.facebook.com/BeautyBrainMusic :D <3 <3 <3',
image: 'https://i1.sndcdn.com/artworks-000069142357-nwttc6-t500x500.jpg',
lang: 'en',
logo: 'https://a-v2.sndcdn.com/assets/images/sc-icons/ios-a62dfc8f.png',
logo: 'https://a-v2.sndcdn.com/assets/images/sc-icons/ios-a62dfc8fe7.png',
publisher: 'SoundCloud',
title: 'Swag Bandicoot [FREE DOWNLOAD]',
url: 'https://soundcloud.com/beautybrainsp/beauty-brain-swag-bandicoot',
Expand Down
Binary file modified packages/metascraper-soundcloud/test/snapshots/index.js.snap
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/metascraper-spotify/test/description.js
Expand Up @@ -42,7 +42,7 @@ test('artist', async t => {
const metascraper = createMetascraper()
const metadata = await metascraper({ url: artistUrl, html })

t.is(metadata.description, 'Artist · 2.5M monthly listeners.')
t.is(metadata.description, 'Artist · 2M monthly listeners.')
})

test('album', async t => {
Expand All @@ -60,5 +60,5 @@ test('track', async t => {
const metascraper = createMetascraper()
const metadata = await metascraper({ url: trackUrl, html })

t.is(metadata.description, 'Justice · Song · 2012')
t.is(metadata.description, 'Justice · Song · 2013')
})
849 changes: 258 additions & 591 deletions packages/metascraper-spotify/test/fixtures/album.html

Large diffs are not rendered by default.

845 changes: 248 additions & 597 deletions packages/metascraper-spotify/test/fixtures/artist.html

Large diffs are not rendered by default.

0 comments on commit 7e12056

Please sign in to comment.