Skip to content

Commit e0dca8d

Browse files
committed
[speech-to-text] keywords, keywords_threshold, word_alternatives_threshold watson-developer-cloud#189
1 parent e43359f commit e0dca8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test.speech_to_text.v1.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,11 @@ describe('speech_to_text', function() {
261261
it('should have expected _events', function(done) {
262262
assert.equal(true, recognizeStream.hasOwnProperty('_events'));
263263
assert.equal(true, recognizeStream._events.hasOwnProperty('connect'));
264-
assert.equal(true, recognizeStream._events.hasOwnProperty('connection-close'));
264+
assert.equal(true, recognizeStream._events.hasOwnProperty('end'));
265265
assert.equal(true, recognizeStream._events.hasOwnProperty('results'));
266266
assert.equal(true, recognizeStream._events.hasOwnProperty('error'));
267267
assert.equal(true, recognizeStream._events.hasOwnProperty('finish'));
268+
assert.equal(true, recognizeStream._events.hasOwnProperty('listening'));
268269
done();
269270
});
270271

0 commit comments

Comments
 (0)