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(