We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c8902f commit d3617afCopy full SHA for d3617af
1 file changed
tests/routing/redirects.js
@@ -159,6 +159,12 @@ describe('redirects', () => {
159
expect(res.statusCode).toBe(301)
160
expect(res.headers.location).toBe(japaneseEnterpriseHome)
161
})
162
+
163
+ test('hardcoded @latest redirects to latest version', async () => {
164
+ const res = await get('/en/enterprise-server@latest')
165
+ expect(res.statusCode).toBe(301)
166
+ expect(res.headers.location).toBe(enterpriseHome)
167
+ })
168
169
170
describe('2.13+ deprecated enterprise', () => {
0 commit comments