mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Restoring default ports for webhook tests (#612)
This commit is contained in:
parent
8bfba150b9
commit
7c114bf600
@ -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…
Reference in New Issue
Block a user