@@ -88,7 +88,7 @@ describe('breadcrumbs', () => {
8888 const breadcrumbs = await getJSON ( '/en/github?json=breadcrumbs' )
8989 const expected = {
9090 product : {
91- href : `/${ nonEnterpriseDefaultVersion } /github` ,
91+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github` ,
9292 title : 'GitHub.com'
9393 }
9494 }
@@ -99,11 +99,11 @@ describe('breadcrumbs', () => {
9999 const breadcrumbs = await getJSON ( '/en/github/authenticating-to-github?json=breadcrumbs' )
100100 const expected = {
101101 product : {
102- href : `/${ nonEnterpriseDefaultVersion } /github` ,
102+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github` ,
103103 title : 'GitHub.com'
104104 } ,
105105 category : {
106- href : `/${ nonEnterpriseDefaultVersion } /github/authenticating-to-github` ,
106+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/authenticating-to-github` ,
107107 title : 'Authentication'
108108 }
109109 }
@@ -114,15 +114,15 @@ describe('breadcrumbs', () => {
114114 const breadcrumbs = await getJSON ( '/en/github/authenticating-to-github/keeping-your-account-and-data-secure?json=breadcrumbs' )
115115 const expected = {
116116 product : {
117- href : `/${ nonEnterpriseDefaultVersion } /github` ,
117+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github` ,
118118 title : 'GitHub.com'
119119 } ,
120120 category : {
121- href : `/${ nonEnterpriseDefaultVersion } /github/authenticating-to-github` ,
121+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/authenticating-to-github` ,
122122 title : 'Authentication'
123123 } ,
124124 maptopic : {
125- href : `/${ nonEnterpriseDefaultVersion } /github/authenticating-to-github/keeping-your-account-and-data-secure` ,
125+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/authenticating-to-github/keeping-your-account-and-data-secure` ,
126126 title : 'Keeping your account and data secure'
127127 }
128128 }
@@ -133,19 +133,19 @@ describe('breadcrumbs', () => {
133133 const breadcrumbs = await getJSON ( '/en/github/authenticating-to-github/creating-a-strong-password?json=breadcrumbs' )
134134 const expected = {
135135 product : {
136- href : `/${ nonEnterpriseDefaultVersion } /github` ,
136+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github` ,
137137 title : 'GitHub.com'
138138 } ,
139139 category : {
140- href : `/${ nonEnterpriseDefaultVersion } /github/authenticating-to-github` ,
140+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/authenticating-to-github` ,
141141 title : 'Authentication'
142142 } ,
143143 maptopic : {
144- href : `/${ nonEnterpriseDefaultVersion } /github/authenticating-to-github/keeping-your-account-and-data-secure` ,
144+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/authenticating-to-github/keeping-your-account-and-data-secure` ,
145145 title : 'Keeping your account and data secure'
146146 } ,
147147 article : {
148- href : `/${ nonEnterpriseDefaultVersion } /github/authenticating-to-github/creating-a-strong-password` ,
148+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/authenticating-to-github/creating-a-strong-password` ,
149149 title : 'Creating a strong password'
150150 }
151151 }
@@ -156,15 +156,15 @@ describe('breadcrumbs', () => {
156156 const breadcrumbs = await getJSON ( '/github/site-policy/github-privacy-statement?json=breadcrumbs' )
157157 const expected = {
158158 product : {
159- href : `/${ nonEnterpriseDefaultVersion } /github` ,
159+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github` ,
160160 title : 'GitHub.com'
161161 } ,
162162 category : {
163- href : `/${ nonEnterpriseDefaultVersion } /github/site-policy` ,
163+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/site-policy` ,
164164 title : 'Site policy'
165165 } ,
166166 article : {
167- href : `/${ nonEnterpriseDefaultVersion } /github/site-policy/github-privacy-statement` ,
167+ href : `/en/ ${ nonEnterpriseDefaultVersion } /github/site-policy/github-privacy-statement` ,
168168 title : 'GitHub Privacy Statement'
169169 }
170170 }
0 commit comments