From db3a2e6485ee3a967c350b1b28fbce28c7e5de2d Mon Sep 17 00:00:00 2001 From: Vladyslav Dalechyn Date: Fri, 26 Apr 2024 14:04:07 +0300 Subject: [PATCH] nit: fix tests (#283) --- src/next/getFrameMetadata.test.ts | 4 ++-- src/utils/getFrameMetadata.test.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/next/getFrameMetadata.test.ts b/src/next/getFrameMetadata.test.ts index e3d4fe55..7b98f278 100644 --- a/src/next/getFrameMetadata.test.ts +++ b/src/next/getFrameMetadata.test.ts @@ -17,10 +17,10 @@ test('default', async () => { "fc:frame:button:3": "GitHub", "fc:frame:button:3:action": "link", "fc:frame:button:3:target": "https://github.com/wevm/frog", - "fc:frame:image": "https://frame.frog.fm/api/image", + "fc:frame:image": "https://frame.frog.fm/og.png", "fc:frame:image:aspect_ratio": "1.91:1", "fc:frame:post_url": "https://frame.frog.fm/api?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", - "og:image": "https://frame.frog.fm/api/image", + "og:image": "https://frame.frog.fm/og.png", "og:title": "Frog Frame", } `) diff --git a/src/utils/getFrameMetadata.test.ts b/src/utils/getFrameMetadata.test.ts index a8a15afa..71f1a409 100644 --- a/src/utils/getFrameMetadata.test.ts +++ b/src/utils/getFrameMetadata.test.ts @@ -16,11 +16,11 @@ test('default', async () => { "property": "fc:frame:image:aspect_ratio", }, { - "content": "https://frame.frog.fm/api/image", + "content": "https://frame.frog.fm/og.png", "property": "fc:frame:image", }, { - "content": "https://frame.frog.fm/api/image", + "content": "https://frame.frog.fm/og.png", "property": "og:image", }, { @@ -66,7 +66,7 @@ test('default', async () => { { "content": "https://github.com/wevm/frog", "property": "fc:frame:button:3:target", - } + }, ] `) })