diff --git a/packages/salesforcedx-apex-debugger/test/unit/adapter/apexDebug.test.ts b/packages/salesforcedx-apex-debugger/test/unit/adapter/apexDebug.test.ts index 55834586dae..b17c4cb62d5 100644 --- a/packages/salesforcedx-apex-debugger/test/unit/adapter/apexDebug.test.ts +++ b/packages/salesforcedx-apex-debugger/test/unit/adapter/apexDebug.test.ts @@ -11,7 +11,7 @@ import { ForceOrgDisplay, OrgInfo } from '@salesforce/salesforcedx-utils-vscode/out/src/cli'; -import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import * as AsyncLock from 'async-lock'; import { expect } from 'chai'; diff --git a/packages/salesforcedx-apex-debugger/test/unit/commands/baseDebuggerCommand.test.ts b/packages/salesforcedx-apex-debugger/test/unit/commands/baseDebuggerCommand.test.ts index 5b9754ae9bb..c24d6fc3fae 100644 --- a/packages/salesforcedx-apex-debugger/test/unit/commands/baseDebuggerCommand.test.ts +++ b/packages/salesforcedx-apex-debugger/test/unit/commands/baseDebuggerCommand.test.ts @@ -8,7 +8,7 @@ import { CLIENT_ID, DEFAULT_CONNECTION_TIMEOUT_MS -} from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +} from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import { XHROptions, XHRResponse } from 'request-light'; diff --git a/packages/salesforcedx-apex-debugger/test/unit/commands/frameCommand.test.ts b/packages/salesforcedx-apex-debugger/test/unit/commands/frameCommand.test.ts index 469b3e7a378..12998c3a6a6 100644 --- a/packages/salesforcedx-apex-debugger/test/unit/commands/frameCommand.test.ts +++ b/packages/salesforcedx-apex-debugger/test/unit/commands/frameCommand.test.ts @@ -5,7 +5,7 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import { XHROptions, XHRResponse } from 'request-light'; diff --git a/packages/salesforcedx-apex-debugger/test/unit/commands/referencesCommand.test.ts b/packages/salesforcedx-apex-debugger/test/unit/commands/referencesCommand.test.ts index d90c1b1f5fa..5ae137960a4 100644 --- a/packages/salesforcedx-apex-debugger/test/unit/commands/referencesCommand.test.ts +++ b/packages/salesforcedx-apex-debugger/test/unit/commands/referencesCommand.test.ts @@ -5,7 +5,7 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import { XHROptions, XHRResponse } from 'request-light'; diff --git a/packages/salesforcedx-apex-debugger/test/unit/commands/runCommand.test.ts b/packages/salesforcedx-apex-debugger/test/unit/commands/runCommand.test.ts index 4796446ec34..5aa55540881 100644 --- a/packages/salesforcedx-apex-debugger/test/unit/commands/runCommand.test.ts +++ b/packages/salesforcedx-apex-debugger/test/unit/commands/runCommand.test.ts @@ -5,7 +5,7 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import { XHROptions, XHRResponse } from 'request-light'; diff --git a/packages/salesforcedx-apex-debugger/test/unit/commands/stateCommand.test.ts b/packages/salesforcedx-apex-debugger/test/unit/commands/stateCommand.test.ts index 201bdd31c67..5fe1993adcb 100644 --- a/packages/salesforcedx-apex-debugger/test/unit/commands/stateCommand.test.ts +++ b/packages/salesforcedx-apex-debugger/test/unit/commands/stateCommand.test.ts @@ -5,7 +5,7 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import { XHROptions, XHRResponse } from 'request-light'; diff --git a/packages/salesforcedx-apex-debugger/test/unit/commands/stepCommands.test.ts b/packages/salesforcedx-apex-debugger/test/unit/commands/stepCommands.test.ts index 4d3b62f5417..6808cf9b70d 100644 --- a/packages/salesforcedx-apex-debugger/test/unit/commands/stepCommands.test.ts +++ b/packages/salesforcedx-apex-debugger/test/unit/commands/stepCommands.test.ts @@ -5,7 +5,7 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +import { DEFAULT_CONNECTION_TIMEOUT_MS } from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import { XHROptions, XHRResponse } from 'request-light'; diff --git a/packages/salesforcedx-apex-replay-debugger/test/unit/commands/apexExecutionOverlayResultCommand.test.ts b/packages/salesforcedx-apex-replay-debugger/test/unit/commands/apexExecutionOverlayResultCommand.test.ts index 974b9fd9b28..98c77055518 100644 --- a/packages/salesforcedx-apex-replay-debugger/test/unit/commands/apexExecutionOverlayResultCommand.test.ts +++ b/packages/salesforcedx-apex-replay-debugger/test/unit/commands/apexExecutionOverlayResultCommand.test.ts @@ -7,7 +7,7 @@ import { CLIENT_ID, DEFAULT_CONNECTION_TIMEOUT_MS -} from '@salesforce/salesforcedx-utils-vscode/out/src/constants'; +} from '@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService, RestHttpMethodEnum diff --git a/packages/salesforcedx-utils-vscode/src/index.ts b/packages/salesforcedx-utils-vscode/src/index.ts index 166014df83b..08093f358be 100644 --- a/packages/salesforcedx-utils-vscode/src/index.ts +++ b/packages/salesforcedx-utils-vscode/src/index.ts @@ -3,5 +3,7 @@ export { ENV_SFDX_DEFAULTUSERNAME, ENV_SFDX_INSTANCE_URL, SFDX_CONFIG_ISV_DEBUGGER_SID, - SFDX_CONFIG_ISV_DEBUGGER_URL + SFDX_CONFIG_ISV_DEBUGGER_URL, + DEFAULT_CONNECTION_TIMEOUT_MS, + CLIENT_ID } from './constants'; diff --git a/packages/salesforcedx-vscode-apex-replay-debugger/test/vscode-integration/commands/apexExecutionOverlayActionCommand.test.ts b/packages/salesforcedx-vscode-apex-replay-debugger/test/vscode-integration/commands/apexExecutionOverlayActionCommand.test.ts index 02abbc8cb03..46d1bedb341 100644 --- a/packages/salesforcedx-vscode-apex-replay-debugger/test/vscode-integration/commands/apexExecutionOverlayActionCommand.test.ts +++ b/packages/salesforcedx-vscode-apex-replay-debugger/test/vscode-integration/commands/apexExecutionOverlayActionCommand.test.ts @@ -8,12 +8,12 @@ import { CLIENT_ID, DEFAULT_CONNECTION_TIMEOUT_MS -} from '@salesforce/salesforcedx-apex-replay-debugger/node_modules/@salesforce/salesforcedx-utils-vscode/out/src/constants'; +} from '@salesforce/salesforcedx-apex-replay-debugger/node_modules/@salesforce/salesforcedx-utils-vscode/out/src/index'; import { RequestService, RestHttpMethodEnum } from '@salesforce/salesforcedx-apex-replay-debugger/node_modules/@salesforce/salesforcedx-utils-vscode/out/src/requestService'; -import { FIELD_INTEGRITY_EXCEPTION } from '@salesforce/salesforcedx-apex-replay-debugger/out/src/constants'; +import { FIELD_INTEGRITY_EXCEPTION } from '@salesforce/salesforcedx-apex-replay-debugger/out/src/index'; import { expect } from 'chai'; import { XHROptions, XHRResponse } from 'request-light'; import * as sinon from 'sinon';