Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#769)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Committer: @summer-ji-eng
PiperOrigin-RevId: 434859890

Source-Link: googleapis/googleapis@bc2432d

Source-Link: googleapis/googleapis-gen@930b673
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Mar 16, 2022
1 parent 0e9364e commit e42c46b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ describe('v3.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3.TranslateTextRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.translateText(request), expectedError);
Expand Down Expand Up @@ -489,7 +488,6 @@ describe('v3.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3.DetectLanguageRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.detectLanguage(request), expectedError);
Expand Down Expand Up @@ -620,7 +618,6 @@ describe('v3.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3.GetSupportedLanguagesRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -750,7 +747,6 @@ describe('v3.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3.TranslateDocumentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.translateDocument(request), expectedError);
Expand Down Expand Up @@ -877,7 +873,6 @@ describe('v3.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3.GetGlossaryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getGlossary(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ describe('v3beta1.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3beta1.TranslateTextRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.translateText(request), expectedError);
Expand Down Expand Up @@ -504,7 +503,6 @@ describe('v3beta1.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3beta1.DetectLanguageRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.detectLanguage(request), expectedError);
Expand Down Expand Up @@ -639,7 +637,6 @@ describe('v3beta1.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3beta1.GetSupportedLanguagesRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -773,7 +770,6 @@ describe('v3beta1.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3beta1.TranslateDocumentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.translateDocument(request), expectedError);
Expand Down Expand Up @@ -904,7 +900,6 @@ describe('v3beta1.TranslationServiceClient', () => {
new protos.google.cloud.translation.v3beta1.GetGlossaryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getGlossary(request), expectedError);
Expand Down

0 comments on commit e42c46b

Please sign in to comment.