Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix(tests): match regex (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwlui authored Sep 17, 2018
1 parent 5b3ca9c commit 5ace3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/system-test/betaFeatures.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ test(`should run word level confidence on a GCS bucket`, async t => {
);
t.true(
output.includes(`Transcription: how old is the Brooklyn Bridge`) &&
output.includes(`Confidence: \d\.\d`)
/Confidence: \d\.\d/.test(output)
);
});

0 comments on commit 5ace3b0

Please sign in to comment.