Skip to content

Commit

Permalink
chore: update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
maxholman committed May 12, 2024
1 parent 3f81e2d commit 9291b5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/__snapshots__/fetcher.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports[`Fetcher 200 empty content ala AWS lambda function URL 1`] = `
"ok": true,
"status": 200,
"statusText": "OK",
"url": "http://0.0.0.0:39813/aws-lambda-200",
"url": Any<URL>,
}
`;
Expand All @@ -40,7 +40,7 @@ exports[`Fetcher 204 empty content ala AWS lambda function URL 1`] = `
"ok": true,
"status": 204,
"statusText": "No Content",
"url": "http://0.0.0.0:39813/aws-lambda-204",
"url": Any<URL>,
}
`;
Expand Down
2 changes: 2 additions & 0 deletions __tests__/fetcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe('Fetcher', () => {

expect(response).toMatchSnapshot({
body: '', // 200 so its empty string
url: expect.any(URL),
});
});

Expand All @@ -57,6 +58,7 @@ describe('Fetcher', () => {

expect(response).toMatchSnapshot({
body: null, // 204 so its null
url: expect.any(URL),
});
});

Expand Down

0 comments on commit 9291b5c

Please sign in to comment.