Skip to content

Commit c2c8e8d

Browse files
committed
Fix E2E tests broken by formatter
1 parent ba8e666 commit c2c8e8d

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

‎.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ packages/starlight/user-components/Tabs.astro
2020

2121
# Prettier forces whitespace between elements we want to avoid for consistency with the rehype version
2222
packages/starlight/components/AnchorHeading.astro
23+
packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx
2324

2425
# Malformed YAML file used for testing
2526
packages/starlight/__tests__/i18n/malformed-yaml-src/content/i18n/*.yml

‎packages/starlight/__e2e__/fixtures/basics/src/content/docs/anchor-heading-component.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ title: Anchor Headings Component
44

55
import AnchorHeading from '@astrojs/starlight/components/AnchorHeading.astro';
66

7-
<AnchorHeading level="2" id="an-anchor-heading">
8-
An anchor heading
9-
</AnchorHeading>
7+
<AnchorHeading level="2" id="an-anchor-heading">An anchor heading</AnchorHeading>
108

11-
<AnchorHeading level="3" id="another-anchor-heading">
12-
Another anchor heading
13-
</AnchorHeading>
9+
<AnchorHeading level="3" id="another-anchor-heading">Another anchor heading</AnchorHeading>

0 commit comments

Comments
 (0)