Skip to content

Commit

Permalink
chore: reproduce date skipping bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 26, 2024
1 parent f261a51 commit 1d2ba4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions test/stega/__snapshots__/stegaEncodeSourceMap.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
exports[`GraphQL API > decode all 1`] = `
[
"https://test.sanity.studio/intent/edit/mode=presentation;id=9696c833-fe71-45b8-b29d-68e8cd78d3db;type=post;path=title",
"https://test.sanity.studio/intent/edit/mode=presentation;id=ab9e2f38-6ea5-4264-b923-51ae8901ab8e;type=post;path=title",
]
`;

Expand All @@ -15,11 +14,17 @@ exports[`GraphQL API > logger.log 1`] = `
"[@sanity/client/stega]: Encoding source map into result",
],
[
"[@sanity/client/stega]: Paths encoded: 2, skipped: 0",
"[@sanity/client/stega]: Paths encoded: 1, skipped: 1",
],
[
"[@sanity/client/stega]: Table of encoded paths",
],
[
"[@sanity/client/stega]: List of skipped paths",
[
"title",
],
],
]
`;

Expand All @@ -32,11 +37,6 @@ exports[`GraphQL API > logger.table 1`] = `
"path": "title",
"value": "Stay tuned for detai...",
},
{
"length": 24,
"path": "title",
"value": "Anticipation is buil...",
},
],
],
]
Expand Down
2 changes: 1 addition & 1 deletion test/stega/stegaEncodeSourceMap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ test('GraphQL API', () => {
title: 'Stay tuned for details next week!',
},
{
title: 'Anticipation is building',
title: 'Anticipation is building 123',
},
],
},
Expand Down

0 comments on commit 1d2ba4e

Please sign in to comment.