Skip to content

Commit 3967096

Browse files
committed
adding additional asserts to stt createRecognizeStream integration test to help narrow down intermittent failures
1 parent af31201 commit 3967096

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/integration/test.speech_to_text.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ describe('speech_to_text_integration', function() {
110110
.pipe(recognizeStream)
111111
.on('error', done)
112112
.pipe(concat(function (transcription) {
113+
assert.equal(typeof transcription, 'string', 'should return a string transcription');
113114
assert.equal(transcription.trim(), 'thunderstorms could produce large hail isolated tornadoes and heavy rain');
114115
done();
115116
}));

0 commit comments

Comments
 (0)