Upgrade http(s)-proxy-agent dependent npm packages (#22306)

This commit is contained in:
Cheena Malhotra
2023-03-13 11:05:59 -07:00
committed by GitHub
parent 653293aad9
commit 8539b63a5c
49 changed files with 823 additions and 1096 deletions

View File

@@ -77,7 +77,7 @@ describe('SchemaCompareDialog.openDialog @DacFx@', function (): void {
});
it('Verify server dropdown gets populated appropriately', async function (): Promise<void> {
const connectionProfile = azdataTest.stubs.connectionProfile.createConnectionProfile();
const connectionProfile = azdataTest.stubs.azdata.createConnectionProfile();
const getConnectionsResults: azdata.connection.ConnectionProfile[] = [{ ...connectionProfile }];
sinon.stub(azdata.connection, 'getCurrentConnection').resolves(undefined);
sinon.stub(azdata.connection, 'openConnectionDialog').resolves(<any>Promise.resolve(connectionProfile));
@@ -106,8 +106,8 @@ describe('SchemaCompareDialog.openDialog @DacFx@', function (): void {
});
it('Verify source server dropdown does not get updated when target server is updated', async function (): Promise<void> {
const connectionProfile1 = azdataTest.stubs.connectionProfile.createConnectionProfile({ connectionName: 'connection1', connectionId: 'testId1', databaseName: 'db1'});
const connectionProfile2 = azdataTest.stubs.connectionProfile.createConnectionProfile({ connectionName: 'connection2', connectionId: 'testId2', databaseName: 'db2'});
const connectionProfile1 = azdataTest.stubs.azdata.createConnectionProfile({ connectionName: 'connection1', connectionId: 'testId1', databaseName: 'db1' });
const connectionProfile2 = azdataTest.stubs.azdata.createConnectionProfile({ connectionName: 'connection2', connectionId: 'testId2', databaseName: 'db2' });
sinon.stub(azdata.connection, 'getCurrentConnection').resolves({ ...connectionProfile1 });
sinon.stub(azdata.connection, 'openConnectionDialog').resolves(<any>Promise.resolve(connectionProfile2));

View File

@@ -116,7 +116,7 @@ describe('utils: In-depth tests to verify verifyConnectionAndGetOwnerUri', funct
});
it('Should throw an error for login failure', async function (): Promise<void> {
const connectionProfile = azdataTest.stubs.connectionProfile.createConnectionProfile({
const connectionProfile = azdataTest.stubs.azdata.createConnectionProfile({
// these need to match what's in mockConnectionInfo in testUtils.ts
options: {
server: mockConnectionInfo.serverName,