Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

fix(test): increase minLikelihood option threshold to VERY_LIKELY #248

Merged
merged 2 commits into from
Mar 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion samples/system-test/inspect.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,10 @@ describe('inspect', () => {
});

// CLI options
// This test is potentially flaky, possibly because of model changes.
it('should have a minLikelihood option', async () => {
const outputA = await exec(
`${cmd} string "My phone number is (123) 456-7890." -m LIKELY`
`${cmd} string "My phone number is (123) 456-7890." -m VERY_LIKELY`
);
const outputB = await exec(
`${cmd} string "My phone number is (123) 456-7890." -m UNLIKELY`
Expand Down