test(core): align test with dependency update (#8512)

This commit is contained in:
Vladimír Gorej
2023-03-24 09:40:27 +01:00
committed by GitHub
parent d6b3d52b92
commit 4db964378b
3 changed files with 195 additions and 93 deletions

View File

@@ -1493,7 +1493,7 @@ describe("utils", () => {
it("throws error when server url contains non-transcluded server variables", () => {
const buildUrlThunk = () => buildUrl(urlRelativeToHost, specUrl, { selectedServer: serverUrlWithVariables })
expect(buildUrlThunk).toThrow(/^Invalid port/)
expect(buildUrlThunk).toThrow(/^Invalid base URL/)
})
})