Fix two tests for deleted product

This commit is contained in:
Matt Pollard 2022-06-08 14:07:32 +02:00
Родитель cb420156ad
Коммит 4adcfe638a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -41,13 +41,13 @@ describe('redirects', () => {
expect(pageRedirects['/articles']).toBe('/github')
expect(pageRedirects['/common-issues-and-questions']).toBe('/github')
expect(pageRedirects[`/enterprise-server@${enterpriseServerReleases.latest}/articles`]).toBe(
`/enterprise-server@${enterpriseServerReleases.latest}/github`
`/enterprise-server@${enterpriseServerReleases.latest}`
)
expect(
pageRedirects[
`/enterprise-server@${enterpriseServerReleases.latest}/common-issues-and-questions`
]
).toBe(`/enterprise-server@${enterpriseServerReleases.latest}/github`)
).toBe(`/enterprise-server@${enterpriseServerReleases.latest}`)
})
test('converts single `redirect_from` strings values into arrays', async () => {