Skip to content

Commit be5e56d

Browse files
committed
test: update snapshots
1 parent 6f8b894 commit be5e56d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/metascraper-logo-favicon/test/favicon.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ test("don't resolve favicon.ico with no valid content-type", async t => {
4242
})
4343

4444
test("favicon.png with 'image/png' content-type", async t => {
45-
const url = 'https://adroll.com/'
46-
t.is(stripWWW(await faviconPNG(url)), 'https://adroll.com/favicon.png')
45+
const url = 'https://www.ywcapiercecounty.org/'
46+
t.is(
47+
stripWWW(await faviconPNG(url)),
48+
'https://ywcapiercecounty.org/favicon.png'
49+
)
4750
})
4851

4952
test("favicon.ico with 'image/vnd.microsoft.icon' content-type", async t => {

packages/metascraper-logo-favicon/test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ test('get the biggest icon possible', async t => {
8686
})
8787

8888
test("don't resolve root path as logo", async t => {
89-
const url = 'https://thisurldoesnotexist.com'
89+
const url = 'https://thisurldoesnotexist1337.com'
9090
const metascraper = createMetascraper()
9191
const html = createHtml([
9292
'<link rel="icon" type="image/x-icon">',

0 commit comments

Comments
 (0)