Skip to content

Commit

Permalink
revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Dec 20, 2023
1 parent 916d7cb commit f65560f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/e2e/app-dir/metadata-dynamic-routes/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,17 +567,13 @@ createNextDescribe(
await Promise.all(promises)
})

it.only('should include default og font files in file trace', async () => {
it('should include default og font files in file trace', async () => {
const fileTrace = JSON.parse(
await next.readFile(
'.next/server/app/metadata-base/unset/opengraph-image2/[[...__metadata_id__]]/route.js.nft.json'
)
)

expect(JSON.stringify(fileTrace.files, null, 2)).toMatchInlineSnapshot(`
[]
`)

// @vercel/og default font should be traced
const isTraced = fileTrace.files.some((filePath) =>
filePath.includes('/noto-sans-v27-latin-regular.ttf')
Expand Down

0 comments on commit f65560f

Please sign in to comment.