diff --git a/synth.metadata b/synth.metadata index 5637e2d..a88bc9f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -3,23 +3,15 @@ { "git": { "name": ".", - "remote": "https://github.com/googleapis/nodejs-media-translation.git", - "sha": "3afe642f6e6955b49c188e66f29115a5deb8c0f6" - } - }, - { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "42ee97c1b93a0e3759bbba3013da309f670a90ab", - "internalRef": "307114445" + "remote": "git@github.com:googleapis/nodejs-media-translation.git", + "sha": "ef9997e4e1bda7d8bec097a2db56f67b67068730" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "19465d3ec5e5acdb01521d8f3bddd311bcbee28d" + "sha": "ab883569eb0257bbf16a6d825fd018b3adde3912" } } ], diff --git a/test/gapic_speech_translation_service_v1beta1.ts b/test/gapic_speech_translation_service_v1beta1.ts index 16437ed..7f97daa 100644 --- a/test/gapic_speech_translation_service_v1beta1.ts +++ b/test/gapic_speech_translation_service_v1beta1.ts @@ -229,9 +229,7 @@ describe('v1beta1.SpeechTranslationServiceClient', () => { stream.write(request); stream.end(); }); - await assert.rejects(async () => { - await promise; - }, expectedError); + await assert.rejects(promise, expectedError); assert( (client.innerApiCalls.streamingTranslateSpeech as SinonStub) .getCall(0)