Skip to content

Commit d6d43d9

Browse files
jkwluiAce Nassri
authored and
Ace Nassri
committed
fix(tests): match regex (#174)
1 parent d88f7d8 commit d6d43d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

speech/system-test/betaFeatures.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ test(`should run word level confidence on a GCS bucket`, async t => {
105105
);
106106
t.true(
107107
output.includes(`Transcription: how old is the Brooklyn Bridge`) &&
108-
output.includes(`Confidence: \d\.\d`)
108+
/Confidence: \d\.\d/.test(output)
109109
);
110110
});

0 commit comments

Comments
 (0)