summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Swithinbank2025-04-16 11:47:34 +0200
committerChris Swithinbank2025-04-16 11:47:34 +0200
commitc2c8e8d11bc6ac12e87b6ea4b0cb02d7fee54e0f (patch)
tree5717a4759b8753d07731ba9b01a76b752d6fdd3d
parentba8e66617b33ae3fc1e2d0094f34a52e945039ce (diff)
downloadIT.starlight-c2c8e8d11bc6ac12e87b6ea4b0cb02d7fee54e0f.tar.gz
IT.starlight-c2c8e8d11bc6ac12e87b6ea4b0cb02d7fee54e0f.tar.bz2
IT.starlight-c2c8e8d11bc6ac12e87b6ea4b0cb02d7fee54e0f.zip
Fix E2E tests broken by formatter
-rw-r--r--.prettierignore1
-rw-r--r--packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx8
2 files changed, 3 insertions, 6 deletions
diff --git a/.prettierignore b/.prettierignore
index 5cbeb0c1..f2bb152b 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -20,6 +20,7 @@ packages/starlight/user-components/Tabs.astro
# Prettier forces whitespace between elements we want to avoid for consistency with the rehype version
packages/starlight/components/AnchorHeading.astro
+packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx
# Malformed YAML file used for testing
packages/starlight/__tests__/i18n/malformed-yaml-src/content/i18n/*.yml
diff --git a/packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx b/packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx
index da262a08..245ce62c 100644
--- a/packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx
+++ b/packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx
@@ -4,10 +4,6 @@ title: Anchor Headings Component
import AnchorHeading from '@astrojs/starlight/components/AnchorHeading.astro';
-<AnchorHeading level="2" id="an-anchor-heading">
- An anchor heading
-</AnchorHeading>
+<AnchorHeading level="2" id="an-anchor-heading">An anchor heading</AnchorHeading>
-<AnchorHeading level="3" id="another-anchor-heading">
- Another anchor heading
-</AnchorHeading>
+<AnchorHeading level="3" id="another-anchor-heading">Another anchor heading</AnchorHeading>