Skip to content

Commit

Permalink
docs: fix bad closed tag (vercel#59575)
Browse files Browse the repository at this point in the history
Found this from build error trace while testing the change in vercel#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
  • Loading branch information
huozhi authored and agustints committed Jan 6, 2024
1 parent 97075cb commit 4012c6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ describe('Page', () => {

</AppOnly>

<PagesOnly>
</PagesOnly>

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

Expand Down

0 comments on commit 4012c6a

Please sign in to comment.