Skip to content

Commit

Permalink
chore: bump snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Dec 7, 2023
1 parent 3ae0610 commit 6943bc6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 53 deletions.
2 changes: 0 additions & 2 deletions test/integration/endpoints/debug.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ describe('debug', () => {
],
"hasNuxtIcon": false,
"resvgOptions": {},
"runtimeChromium": true,
"runtimeSatori": true,
"satoriOptions": {},
"sharpOptions": {},
},
Expand Down
61 changes: 10 additions & 51 deletions test/integration/endpoints/satori/json.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,52 +13,20 @@ describe('json', () => {
delete json.key
expect(json).toMatchInlineSnapshot(`
{
"_nitro": {
"h3App": {
"options": {
"debug": false,
},
"stack": [
{
"route": "/",
},
{
"route": "/",
},
{
"route": "/",
},
{
"route": "/",
},
{
"route": "/",
},
],
},
"hooks": {
"_after": [
null,
],
"_before": [
null,
],
"_deprecatedHooks": {},
"_hooks": {
"render:html": [
null,
],
},
"cacheKey": "satori:5Hzq5ZrLws",
"compatibility": {
"bindings": {
"chromium": "node",
"css-inline": "node",
"resvg": "node",
"satori": "node",
"sharp": "node",
},
"router": {},
"chromium": false,
},
"basePath": "/satori",
"compatibility": [
"compatibilityHints": [
"Converting PNGs to JPEGs requires Sharp which only runs on Node based systems.",
],
"e": "[GET] /__og-image__/image/satori/og.json",
"extension": "json",
"isDebugJsonPayload": true,
"options": {
"cacheMaxAgeSeconds": 259200,
"component": "NuxtSeo",
Expand All @@ -71,15 +39,6 @@ describe('json', () => {
"renderer": "satori",
"width": 1200,
},
"renderer": {
"name": "satori",
"supportedFormats": [
"png",
"jpeg",
"jpg",
"json",
],
},
"siteConfig": {
"_context": {
"defaultLocale": "defaults",
Expand Down

0 comments on commit 6943bc6

Please sign in to comment.