Skip to content

Commit 6cb97a8

Browse files
committed
chore: update snapshots
1 parent b608a05 commit 6cb97a8

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__snapshots__/index.js.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,11 @@ Array [
11201120
"status": 404,
11211121
"to": "/404.html",
11221122
},
1123+
Object {
1124+
"from": "/api/og",
1125+
"status": 200,
1126+
"to": "/.netlify/functions/_api_og-handler",
1127+
},
11231128
Object {
11241129
"from": "/api/shows/:id",
11251130
"status": 200,

test/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,13 @@ describe('api route file analysis', () => {
15941594
config: { schedule: '@hourly', type: 'experimental-scheduled' },
15951595
route: '/api/hello-scheduled',
15961596
},
1597+
{
1598+
compiled: 'pages/api/og.js',
1599+
config: {
1600+
runtime: 'experimental-edge',
1601+
},
1602+
route: '/api/og',
1603+
},
15971604
]),
15981605
)
15991606
})

0 commit comments

Comments
 (0)