Skip to content

Commit

Permalink
binary files length is different in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed May 9, 2024
1 parent 02a1b49 commit df7262c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 31 deletions.
60 changes: 30 additions & 30 deletions tests/__snapshots__/picture.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(281995)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -304,10 +304,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(3368)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -330,10 +330,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(8056)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -356,10 +356,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(6615)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -382,10 +382,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(17393)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -408,10 +408,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(12701)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -434,10 +434,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(822727)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -460,10 +460,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(3653)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -486,10 +486,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(7369)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -512,10 +512,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(8056)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -538,10 +538,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(19756)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -564,10 +564,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(17393)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -590,10 +590,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(46947)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -616,10 +616,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(1980)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand All @@ -642,10 +642,10 @@ snapshot[`picture plugin 3`] = `
},
},
{
content: "Uint8Array(3653)",
content: "Uint8Array()",
data: {
basename: "kevin schmid unsplash",
content: "Uint8Array(139102)",
content: "Uint8Array()",
date: [],
mergedKeys: [
"tags",
Expand Down
4 changes: 3 additions & 1 deletion tests/picture.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ Deno.test("picture plugin", async (t) => {
}));

await build(site);
await assertSiteSnapshot(t, site);
await assertSiteSnapshot(t, site, {
avoidBinaryFilesLength: true,
});
});

0 comments on commit df7262c

Please sign in to comment.