Skip to content

Commit b5f4be5

Browse files
committed
test: remove trailing slashes from deploy urls
1 parent 2662fea commit b5f4be5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/netlify-deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export class NextDeployInstance extends NextInstance {
157157
throw new Error('Could not extract DeployID from the build logs')
158158
}
159159

160-
this._url = `https://${deployID}--${siteName}.netlify.app/`
160+
this._url = `https://${deployID}--${siteName}.netlify.app`
161161
this._parsedUrl = new URL(this._url)
162162
this._deployId = deployID
163163
this._shouldDeleteDeploy = !process.env.NEXT_TEST_SKIP_CLEANUP

tests/utils/create-e2e-fixture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ async function deploySite(
288288
}
289289

290290
return {
291-
url: `https://${deployID}--${siteName}.netlify.app/`,
291+
url: `https://${deployID}--${siteName}.netlify.app`,
292292
deployID,
293293
logs: output,
294294
}

0 commit comments

Comments
 (0)