From a4e5abf5f4f7f855041c34d7cf945cf066566bd8 Mon Sep 17 00:00:00 2001 From: Daniel Holmgren Date: Fri, 1 Dec 2023 15:07:17 -0600 Subject: [PATCH] Fix snapshots for list items (#1911) fix snapshots for list items --- .../tests/views/__snapshots__/block-lists.test.ts.snap | 3 ++- .../tests/views/__snapshots__/mute-lists.test.ts.snap | 9 +++++---- .../pds/tests/proxied/__snapshots__/views.test.ts.snap | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/bsky/tests/views/__snapshots__/block-lists.test.ts.snap b/packages/bsky/tests/views/__snapshots__/block-lists.test.ts.snap index 1f4f42f2003..7f0989a5975 100644 --- a/packages/bsky/tests/views/__snapshots__/block-lists.test.ts.snap +++ b/packages/bsky/tests/views/__snapshots__/block-lists.test.ts.snap @@ -514,6 +514,7 @@ Object { "muted": false, }, }, + "uri": "record(5)", }, Object { "subject": Object { @@ -542,7 +543,7 @@ Object { "muted": false, }, }, - "uri": "record(5)", + "uri": "record(6)", }, ], "list": Object { diff --git a/packages/bsky/tests/views/__snapshots__/mute-lists.test.ts.snap b/packages/bsky/tests/views/__snapshots__/mute-lists.test.ts.snap index 8b88231fe3b..d4b11f0d235 100644 --- a/packages/bsky/tests/views/__snapshots__/mute-lists.test.ts.snap +++ b/packages/bsky/tests/views/__snapshots__/mute-lists.test.ts.snap @@ -495,6 +495,7 @@ Object { "muted": false, }, }, + "uri": "record(3)", }, Object { "subject": Object { @@ -503,7 +504,7 @@ Object { "labels": Array [], "viewer": Object { "blockedBy": false, - "followedBy": "record(3)", + "followedBy": "record(5)", "muted": true, "mutedByList": Object { "avatar": "https://bsky.public.url/img/avatar/plain/user(0)/cids(1)@jpeg", @@ -518,7 +519,7 @@ Object { }, }, }, - "uri": "record(3)", + "uri": "record(4)", }, Object { "subject": Object { @@ -531,7 +532,7 @@ Object { "labels": Array [], "viewer": Object { "blockedBy": false, - "following": "record(4)", + "following": "record(7)", "muted": true, "mutedByList": Object { "avatar": "https://bsky.public.url/img/avatar/plain/user(0)/cids(1)@jpeg", @@ -546,7 +547,7 @@ Object { }, }, }, - "uri": "record(5)", + "uri": "record(6)", }, ], "list": Object { diff --git a/packages/pds/tests/proxied/__snapshots__/views.test.ts.snap b/packages/pds/tests/proxied/__snapshots__/views.test.ts.snap index 5fcc0be8faf..f856407ccbc 100644 --- a/packages/pds/tests/proxied/__snapshots__/views.test.ts.snap +++ b/packages/pds/tests/proxied/__snapshots__/views.test.ts.snap @@ -3321,8 +3321,8 @@ Object { "labels": Array [], "viewer": Object { "blockedBy": false, - "followedBy": "record(4)", - "following": "record(3)", + "followedBy": "record(5)", + "following": "record(4)", "muted": false, }, },