Restoring default ports for webhook tests (#612)

pull/614/head
jarek 10 months ago committed by GitHub
parent 8bfba150b9
commit 7c114bf600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4359,7 +4359,7 @@ async function getWorkspaceId(api: UserAPIImpl, name: string) {
return workspaces.find((w) => w.name === name)!.id;
}
const webhooksTestPort = Number(process.env.WEBHOOK_TEST_PORT);
const webhooksTestPort = Number(process.env.WEBHOOK_TEST_PORT || 34365);
async function setupDataDir(dir: string) {
// we'll be serving Hello.grist content for various document ids, so let's make copies of it in

@ -51,8 +51,8 @@ function backupEnvironmentVariables() {
});
}
const webhooksTestPort = Number(process.env.WEBHOOK_TEST_PORT);
const webhooksTestProxyPort = Number(process.env.WEBHOOK_TEST_PROXY_PORT);
const webhooksTestPort = Number(process.env.WEBHOOK_TEST_PORT || 34365);
const webhooksTestProxyPort = Number(process.env.WEBHOOK_TEST_PROXY_PORT || 22335);
describe('Webhooks-Proxy', function () {
// A testDir of the form grist_test_{USER}_{SERVER_NAME}

Loading…
Cancel
Save