Skip to content

Commit f1143bc

Browse files
authored
docs: fix bad closed tag (#59575)
Found this from build error trace while testing the change in #59569 ``` docs/02-app/01-building-your-application/08-testing/02-jest.mdx": UnexpectedMDXError: Error: Build failed with 1 error: -- _mdx_bundler_entry_point-776983b1-6900-47c0-98cc-0c35882e9532.mdx:297:0: ERROR: [plugin: @mdx-js/esbuild] Unexpected closing tag `</PageOnly>`, expected corresponding closing tag for `<PagesOnly> ``` Closes NEXT-1863
1 parent 60e8407 commit f1143bc

File tree

1 file changed

+1
-1
lines changed
  • docs/02-app/01-building-your-application/08-testing

1 file changed

+1
-1
lines changed

docs/02-app/01-building-your-application/08-testing/02-jest.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ describe('Page', () => {
331331

332332
</AppOnly>
333333

334-
<PagesOnly>
334+
</PagesOnly>
335335

336336
Optionally, add a [snapshot test](https://jestjs.io/docs/snapshot-testing) to keep track of any unexpected changes in your component:
337337

0 commit comments

Comments
 (0)