@@ -31,10 +31,8 @@ const stereoFilePath = path.join(resourcePath, 'commercial_stereo.wav');
3131const multiLanguageFile = path . join ( resourcePath , 'multi.wav' ) ;
3232const BrooklynFilePath = path . join ( resourcePath , 'brooklyn.flac' ) ;
3333
34- const monoUri = 'gs://cloud-samples-tests/speech/commercial_mono.wav' ;
35- const multiUri = 'gs://nodejs-docs-samples/multi_mono.wav' ;
36- const brooklynUri = 'gs://cloud-samples-tests/speech/brooklyn.flac' ;
37- const stereoUri = 'gs://cloud-samples-tests/speech/commercial_stereo.wav' ;
34+ const monoUri = 'gs://cloud-samples-data/speech/commercial_mono.wav' ;
35+ const stereoUri = 'gs://cloud-samples-data/speech/commercial_stereo.wav' ;
3836
3937describe ( `BetaFeatures` , ( ) => {
4038 it ( 'should run speech diarization on a local file' , async ( ) => {
@@ -66,22 +64,11 @@ describe(`BetaFeatures`, () => {
6664 assert . match ( output , / T r a n s c r i p t i o n : h o w a r e y o u d o i n g e s t o y b i e n e t u / ) ;
6765 } ) ;
6866
69- it ( 'should transcribe multi-language on a GCS bucket' , async ( ) => {
70- const output = execSync ( `${ cmd } multiLanguageTranscribeGCS -u ${ multiUri } ` ) ;
71- assert . match ( output , / T r a n s c r i p t i o n : h o w a r e y o u d o i n g e s t o y b i e n e t u / ) ;
72- } ) ;
73-
7467 it ( 'should run word Level Confience on a local file' , async ( ) => {
7568 const output = execSync (
7669 `${ cmd } wordLevelConfidence -f ${ BrooklynFilePath } `
7770 ) ;
7871 assert . match ( output , / T r a n s c r i p t i o n : h o w o l d i s t h e B r o o k l y n B r i d g e / ) ;
7972 assert . match ( output , / C o n f i d e n c e : \d \. \d / ) ;
8073 } ) ;
81-
82- it ( 'should run word level confidence on a GCS bucket' , async ( ) => {
83- const output = execSync ( `${ cmd } wordLevelConfidenceGCS -u ${ brooklynUri } ` ) ;
84- assert . match ( output , / T r a n s c r i p t i o n : h o w o l d i s t h e B r o o k l y n B r i d g e / ) ;
85- assert . match ( output , / C o n f i d e n c e : \d \. \d / ) ;
86- } ) ;
8774} ) ;
0 commit comments