From 89968184a51acbffd235312d0021e98b278d6225 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:36:31 +0000 Subject: [PATCH] chore: update v2.14.2 gapic-generator-typescript (#79) - [ ] Regenerate this pull request now. Committer: @summer-ji-eng PiperOrigin-RevId: 434859890 Source-Link: https://github.com/googleapis/googleapis/commit/bc2432d50cba657e95212122e3fa112591b5bec2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/930b673103e92523f8cfed38decd7d3afae8ebe7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9 --- .../google-api-serviceusage/test/gapic_service_usage_v1.ts | 2 -- .../test/gapic_service_usage_v1beta1.ts | 3 --- 2 files changed, 5 deletions(-) diff --git a/packages/google-api-serviceusage/test/gapic_service_usage_v1.ts b/packages/google-api-serviceusage/test/gapic_service_usage_v1.ts index 1d437750bf4..3a028e018a4 100644 --- a/packages/google-api-serviceusage/test/gapic_service_usage_v1.ts +++ b/packages/google-api-serviceusage/test/gapic_service_usage_v1.ts @@ -360,7 +360,6 @@ describe('v1.ServiceUsageClient', () => { new protos.google.api.serviceusage.v1.GetServiceRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getService(request), expectedError); @@ -487,7 +486,6 @@ describe('v1.ServiceUsageClient', () => { new protos.google.api.serviceusage.v1.BatchGetServicesRequest() ); request.parent = ''; - const expectedHeaderRequestParams = 'parent='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.batchGetServices(request), expectedError); diff --git a/packages/google-api-serviceusage/test/gapic_service_usage_v1beta1.ts b/packages/google-api-serviceusage/test/gapic_service_usage_v1beta1.ts index 0ac393c853c..dfc4627ed48 100644 --- a/packages/google-api-serviceusage/test/gapic_service_usage_v1beta1.ts +++ b/packages/google-api-serviceusage/test/gapic_service_usage_v1beta1.ts @@ -369,7 +369,6 @@ describe('v1beta1.ServiceUsageClient', () => { new protos.google.api.serviceusage.v1beta1.GetServiceRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getService(request), expectedError); @@ -501,7 +500,6 @@ describe('v1beta1.ServiceUsageClient', () => { new protos.google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects( @@ -635,7 +633,6 @@ describe('v1beta1.ServiceUsageClient', () => { new protos.google.api.serviceusage.v1beta1.GetConsumerQuotaLimitRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(