Skip to content

fix: unescape in get frame metadata (#478) #689

fix: unescape in get frame metadata (#478)

fix: unescape in get frame metadata (#478) #689

Triggered via push August 29, 2024 15:01
Status Failure
Total duration 1m 33s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
src/next/getFrameMetadata.test.ts > default: src/next/getFrameMetadata.test.ts#L8
Error: Snapshot `default 1` mismatched - Expected + Received { "fc:frame": "vNext", "fc:frame:button:1": "Features →", "fc:frame:button:1:action": "post", - "fc:frame:button:1:target": "https://frame.frog.fm/api/features?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", + "fc:frame:button:1:target": "https://frame.frog.fm/api/features?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", "fc:frame:button:2": "Docs", "fc:frame:button:2:action": "link", "fc:frame:button:2:target": "https://frog.fm", "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/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", + "fc:frame:post_url": "https://frame.frog.fm/api?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", "og:image": "https://frame.frog.fm/og.png", "og:title": "Frog – Framework for Farcaster Frames", } ❯ src/next/getFrameMetadata.test.ts:8:20
src/utils/getFrameMetadata.test.ts > default: src/utils/getFrameMetadata.test.ts#L8
Error: Snapshot `default 1` mismatched - Expected + Received @@ -18,11 +18,11 @@ { "content": "Frog – Framework for Farcaster Frames", "property": "og:title", }, { - "content": "https://frame.frog.fm/api?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", + "content": "https://frame.frog.fm/api?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", "property": "fc:frame:post_url", }, { "content": "Features →", "property": "fc:frame:button:1", @@ -30,11 +30,11 @@ { "content": "post", "property": "fc:frame:button:1:action", }, { - "content": "https://frame.frog.fm/api/features?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", + "content": "https://frame.frog.fm/api/features?initialPath=%252Fapi&previousButtonValues=%2523A_%252C_l%252C_l", "property": "fc:frame:button:1:target", }, { "content": "Docs", "property": "fc:frame:button:2", ❯ src/utils/getFrameMetadata.test.ts:8:20
src/utils/verifyFrame.test.ts > invalid hash: src/utils/verifyFrame.test.ts#L19
Error: Snapshot `invalid hash 1` mismatched - Expected + Received - [Error: message is invalid. No data in message.] + [SyntaxError: Unexpected token '<', "<html> + <h"... is not valid JSON] ❯ src/utils/verifyFrame.test.ts:19:3
src/utils/verifyFrame.test.ts > invalid hash neynar: src/utils/verifyFrame.test.ts#L62
Error: Snapshot `invalid hash neynar 1` mismatched - Expected + Received - [Error: message is invalid. No data in message.] + [SyntaxError: Unexpected token '<', "<html> + <h"... is not valid JSON] ❯ src/utils/verifyFrame.test.ts:62:3
Verify / Test
Process completed with exit code 1.
Verify / Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Verify / Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Verify / Types
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/