1
0
mirror of synced 2025-12-25 02:17:36 -05:00

add one-off cases for hooks and pre-receive-hooks (#16784)

* add one-off cases for hooks and pre-receive-hooks

* add forum redirect

* update redirect test

* update 2.19-2.22 fixutres

* revert 2.18/2.19 changes

* remove dotcom test

* update dotcom test
This commit is contained in:
Rachael Sewell
2020-12-09 11:50:46 -08:00
committed by GitHub
parent 910a94b1d6
commit 6a3d326fcf
4 changed files with 34 additions and 14 deletions

View File

@@ -126,7 +126,7 @@ describe('developer redirects', () => {
)
})
// TODO temprarily ensure we redirect old links using the new enterprise format
// TODO temporarily ensure we redirect old links using the new enterprise format
// for currently supported enterprise releases only
// EXAMPLE: /en/enterprise-server@2.20/v3/pulls/comments -> /en/enterprise-server@2.20/rest/reference/pulls#comments
// We can remove test after we update all the old `/v3` links to point to `/rest`
@@ -165,7 +165,7 @@ describe('developer redirects', () => {
)
})
// TODO temprarily ensure we redirect old links using the new enterprise format
// TODO temporarily ensure we redirect old links using the new enterprise format
// for currently supported enterprise releases only
// EXAMPLE: /en/enterprise-server@2.20/v4/interface/actor -> /en/enterprise-server@2.20/graphql/reference/interfaces#actor
// We can remove test after we update all the old `/v4` links to point to `/graphql`