* run service tests with GHA * rename GithubGist services to Gist * completely delete circle ci config
17 lines
417 B
JavaScript
17 lines
417 B
JavaScript
import { ServiceTester } from '../../tester.js'
|
|
export const t = new ServiceTester({
|
|
id: 'GistStarsRedirect',
|
|
title: 'Github Gist Stars Redirect',
|
|
pathPrefix: '/github',
|
|
})
|
|
|
|
t.create('Stars redirect')
|
|
.get('/stars/gists/a8b8c979d200ffde13cc08505f7a6436', {
|
|
followRedirect: false,
|
|
})
|
|
.expectStatus(301)
|
|
.expectHeader(
|
|
'Location',
|
|
'/github/gist/stars/a8b8c979d200ffde13cc08505f7a6436.svg'
|
|
)
|