* set followRedirect: false by default in tests * update tests implicitly relying on redirects Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
18 lines
384 B
JavaScript
18 lines
384 B
JavaScript
'use strict'
|
|
|
|
const { ServiceTester } = require('../tester')
|
|
|
|
const t = (module.exports = new ServiceTester({
|
|
id: 'JiraSprintRedirect',
|
|
title: 'JiraSprintRedirect',
|
|
pathPrefix: '/jira/sprint',
|
|
}))
|
|
|
|
t.create('jira sprint')
|
|
.get('/https/jira.spring.io/94.svg')
|
|
.expectRedirect(
|
|
`/jira/sprint/94.svg?baseUrl=${encodeURIComponent(
|
|
'https://jira.spring.io'
|
|
)}`
|
|
)
|