Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 15, 2024
1 parent a4e83d4 commit 7e3e9d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions test/e2e/app-dir/app/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ describe('app dir - basic', () => {
)
})

it('should not have entire prerender-manifest for edge', async () => {
expect(await next.readFile('.next/prerender-manifest.js')).not.toContain(
'initialRevalidate'
)
})

if (!process.env.NEXT_EXPERIMENTAL_COMPILE) {
it('should have correct size in build output', async () => {
expect(next.cliOutput).toMatch(
Expand Down
1 change: 0 additions & 1 deletion test/e2e/middleware-trailing-slash/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ describe('Middleware Runtime trailing slash', () => {
delete middlewareWithoutEnvs.env
expect(middlewareWithoutEnvs).toEqual({
files: expect.arrayContaining([
'prerender-manifest.js',
'server/edge-runtime-webpack.js',
'server/middleware.js',
]),
Expand Down

0 comments on commit 7e3e9d6

Please sign in to comment.