Skip to content

Commit ff9c996

Browse files
authored
Merge pull request #16994 from github/repo-sync
repo sync
2 parents 1e54c52 + 9c9a3c5 commit ff9c996

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,4 +1001,4 @@ updates:
10011001
schedule:
10021002
interval: "daily"
10031003
```
1004-
{% endif %}
1004+
{% endif %}

tests/rendering/server.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,18 +362,16 @@ describe('server', () => {
362362
expect($('h2#in-this-article').length).toBe(0)
363363
})
364364

365+
// TODO
365366
test('renders mini TOC with correct links when headings contain markup', async () => {
366-
const $ = await getDOM(
367-
'/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates'
368-
)
369-
expect($('h2#in-this-article + div div ul a[href="#package-ecosystem"]').length).toBe(1)
367+
const $ = await getDOM('/en/actions/using-workflows/workflow-syntax-for-github-actions')
368+
expect($('h2#in-this-article + div div ul a[href="#on"]').length).toBe(1)
370369
})
371370

371+
// TODO
372372
test('renders mini TOC with correct links when headings contain markup in localized content', async () => {
373-
const $ = await getDOM(
374-
'/ja/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates'
375-
)
376-
expect($('h2#in-this-article + div div ul a[href="#package-ecosystem"]').length).toBe(1)
373+
const $ = await getDOM('/ja/actions/using-workflows/workflow-syntax-for-github-actions')
374+
expect($('h2#in-this-article + div div ul a[href="#on"]').length).toBe(1)
377375
})
378376
})
379377

0 commit comments

Comments
 (0)