mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
integration-tests: dynamic port handling for web app URL verification (#5176)
This commit is contained in:
parent
307f97ac00
commit
8f544c5d09
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ export function normalizeCliOutput(value: string) {
|
|||
// eslint-disable-next-line no-control-regex
|
||||
.replace(/\x1B[[(?);]{0,2}(;?\d)*./g, '')
|
||||
.replace(
|
||||
/http:\/\/localhost:8080\/[$]*\w+\/[$]*\w+\/[$]*\w+/i,
|
||||
'http://localhost:8080/$organization/$project/$target',
|
||||
/(http:\/\/localhost:\d+)\/([^\/]+)\/([^\/]+)\/([^\/]+)/,
|
||||
'$1/$organization/$project/$target',
|
||||
)
|
||||
.replace(/history\/[$]*\w+-\w+-\w+-\w+-\w+/i, 'history/$version')
|
||||
.trim(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue