Skip to content

Commit ffdd3b3

Browse files
committed
Update tests with new expected semantic headings
1 parent eaa4a0b commit ffdd3b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/liquid-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('liquid helper tags', () => {
5454
const template = '{% link_with_intro /contributing-and-collaborating-using-github-desktop %}'
5555
const page = pageMap[`/en/${nonEnterpriseDefaultVersion}/desktop/contributing-and-collaborating-using-github-desktop`]
5656
const expected = `<a class="link-with-intro Bump-link--hover no-underline" href="/en/desktop/contributing-and-collaborating-using-github-desktop">
57-
<h4 class="link-with-intro-title">${page.title}<span class="Bump-link-symbol">→</span></h4>
57+
<h2 class="link-with-intro-title f4">${page.title}<span class="Bump-link-symbol">→</span></h2>
5858
</a>
5959
<p class="link-with-intro-intro">${page.intro}</p>`
6060
const output = entities.decode(await liquid.parseAndRender(template, context))

0 commit comments

Comments
 (0)