File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 8
8
"test" : " cd ..; npm run st -- speech/system-test/*.test.js"
9
9
},
10
10
"dependencies" : {
11
- "@google-cloud/speech" : " ^0.4 .0" ,
12
- "node-record-lpcm16" : " ^ 0.1.4" ,
13
- "yargs" : " ^6.4 .0"
11
+ "@google-cloud/speech" : " 0.5 .0" ,
12
+ "node-record-lpcm16" : " 0.1.4" ,
13
+ "yargs" : " 6.5 .0"
14
14
},
15
15
"engines" : {
16
16
"node" : " >=4.3.2"
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ const text = `how old is the Brooklyn Bridge`;
25
25
26
26
describe ( `speech:recognize` , ( ) => {
27
27
it ( `should run sync recognize` , ( ) => {
28
- assert . equal ( run ( `${ cmd } sync ${ filename } ` , cwd ) , `Transcription: ${ text } ` ) ;
28
+ assert . equal ( run ( `${ cmd } sync ${ filename } ` , cwd ) . includes ( text ) , true ) ;
29
29
} ) ;
30
30
31
31
it ( `should run async recognize` , ( ) => {
32
- assert . equal ( run ( `${ cmd } async ${ filename } ` , cwd ) , `Transcription: ${ text } ` ) ;
32
+ assert . equal ( run ( `${ cmd } async ${ filename } ` , cwd ) . includes ( text ) , true ) ;
33
33
} ) ;
34
34
35
35
it ( `should run streaming recognize` , ( ) => {
You can’t perform that action at this time.
0 commit comments