Skip to content

Commit 05d2f38

Browse files
committed
Update assertions
1 parent fc80d27 commit 05d2f38

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/development/app-dir/missing-required-html-tags/index.test.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,7 @@ describe('app-dir - missing required html tags', () => {
6363
)
6464
)
6565

66-
await openRedbox(browser)
6766
// TODO(NDX-768): Should show "missing tags" error
68-
expect(await getRedboxDescription(browser)).toMatchInlineSnapshot(`
69-
"In HTML, <p> cannot be a child of <#document>.
70-
This will cause a hydration error."
71-
`)
72-
expect(await getRedboxTotalErrorCount(browser)).toBe(1)
73-
74-
// Fix the issue again
75-
await next.patchFile('app/layout.js', (code) =>
76-
code.replace(
77-
'return children',
78-
'return <html><body>{children}</body></html>'
79-
)
80-
)
81-
8267
await assertNoRedbox(browser)
8368
})
8469
})

0 commit comments

Comments
 (0)