Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4d4d82

Browse files
author
Aryn
authored
Update electron hyperlink (#22098)
1 parent e011471 commit f4d4d82

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ externalProducts:
142142
electron:
143143
id: electron
144144
name: Electron
145-
href: 'https://electronjs.org/docs'
145+
href: 'https://electronjs.org/docs/latest'
146146
external: true
147147
codeql:
148148
id: codeql

tests/rendering/sidebar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ describe('sidebar', () => {
4343

4444
test('includes links to external products like the Atom, Electron, and CodeQL', async () => {
4545
expect($homePage('[data-testid=sidebar] a[href="https://atom.io/docs"]')).toHaveLength(1)
46-
expect($homePage('[data-testid=sidebar] a[href="https://electronjs.org/docs"]')).toHaveLength(1)
46+
expect(
47+
$homePage('[data-testid=sidebar] a[href="https://electronjs.org/docs/latest"]')
48+
).toHaveLength(1)
4749
expect(
4850
$homePage('[data-testid=sidebar] a[href="https://codeql.github.com/docs"]')
4951
).toHaveLength(1)

0 commit comments

Comments
 (0)