Skip to content

Commit

Permalink
test: remove trailing slashes from deploy urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstork committed Jan 30, 2025
1 parent 2662fea commit b5f4be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/netlify-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class NextDeployInstance extends NextInstance {
throw new Error('Could not extract DeployID from the build logs')
}

this._url = `https://${deployID}--${siteName}.netlify.app/`
this._url = `https://${deployID}--${siteName}.netlify.app`
this._parsedUrl = new URL(this._url)
this._deployId = deployID
this._shouldDeleteDeploy = !process.env.NEXT_TEST_SKIP_CLEANUP
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/create-e2e-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ async function deploySite(
}

return {
url: `https://${deployID}--${siteName}.netlify.app/`,
url: `https://${deployID}--${siteName}.netlify.app`,
deployID,
logs: output,
}
Expand Down

0 comments on commit b5f4be5

Please sign in to comment.