Skip to content

Commit

Permalink
Fix snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Apr 25, 2023
1 parent eb7667e commit 01501f0
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/bsky/tests/views/__snapshots__/posts.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Array [
"cid": "cids(3)",
"embeds": Array [],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -237,6 +238,7 @@ Array [
},
"cid": "cids(3)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -248,6 +250,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(5)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down
11 changes: 11 additions & 0 deletions packages/pds/tests/proxied/__snapshots__/author-feed.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ Array [
},
"cid": "cids(8)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(9)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -243,6 +244,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(7)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -651,6 +653,7 @@ Array [
},
"cid": "cids(4)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -662,6 +665,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(1)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -903,6 +907,7 @@ Array [
"cid": "cids(4)",
"embeds": Array [],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1074,6 +1079,7 @@ Array [
},
"cid": "cids(6)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(6)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -1085,6 +1091,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(5)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1259,6 +1266,7 @@ Array [
},
"cid": "cids(4)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(4)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -1270,6 +1278,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1577,6 +1586,7 @@ Array [
},
"cid": "cids(8)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(10)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1623,6 +1633,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(9)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down
23 changes: 23 additions & 0 deletions packages/pds/tests/proxied/__snapshots__/timeline.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Array [
},
"cid": "cids(6)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(6)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -122,6 +123,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(3)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -642,6 +644,7 @@ Array [
},
"cid": "cids(3)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(3)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -688,6 +691,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -881,6 +885,7 @@ Array [
},
"cid": "cids(6)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(6)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -892,6 +897,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(3)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1053,6 +1059,7 @@ Array [
"cid": "cids(6)",
"embeds": Array [],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(6)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1249,6 +1256,7 @@ Array [
},
"cid": "cids(4)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(4)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -1260,6 +1268,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1797,6 +1806,7 @@ Array [
},
"cid": "cids(1)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -1843,6 +1853,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(0)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -2023,6 +2034,7 @@ Array [
"cid": "cids(4)",
"embeds": Array [],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(4)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -2218,6 +2230,7 @@ Array [
},
"cid": "cids(4)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -2229,6 +2242,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(1)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -2614,6 +2628,7 @@ Array [
},
"cid": "cids(1)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(1)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -2660,6 +2675,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(0)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -2805,6 +2821,7 @@ Array [
"cid": "cids(4)",
"embeds": Array [],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -3192,6 +3209,7 @@ Array [
},
"cid": "cids(9)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(10)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -3203,6 +3221,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(9)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -3584,6 +3603,7 @@ Array [
},
"cid": "cids(8)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(9)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -3630,6 +3650,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(8)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -3785,6 +3806,7 @@ Array [
},
"cid": "cids(10)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(12)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -3796,6 +3818,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(9)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down
3 changes: 3 additions & 0 deletions packages/pds/tests/views/__snapshots__/posts.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Array [
"cid": "cids(2)",
"embeds": Array [],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down Expand Up @@ -255,6 +256,7 @@ Array [
},
"cid": "cids(2)",
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(2)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand All @@ -266,6 +268,7 @@ Array [
},
],
"indexedAt": "1970-01-01T00:00:00.000Z",
"labels": Array [],
"uri": "record(5)",
"value": Object {
"$type": "app.bsky.feed.post",
Expand Down

0 comments on commit 01501f0

Please sign in to comment.