-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: handling a randomized reprompt #59
feat: handling a randomized reprompt #59
Conversation
Codecov Report
@@ Coverage Diff @@
## leart/CORE-978 #59 +/- ##
===============================================
Coverage 97.68% 97.69%
===============================================
Files 89 89
Lines 1601 1602 +1
Branches 264 264
===============================================
+ Hits 1564 1565 +1
Misses 27 27
Partials 10 10
Continue to review full report at Codecov.
|
@@ -24,6 +24,7 @@ describe('noMatch handler unit tests', () => { | |||
const block = { | |||
blockID: 'block-id', | |||
noMatches: ['the counter is {counter}'], | |||
randomize: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we're testing with a boolean already in the next unit test, let's remove randomize
altogether here to test undefined
refactor: removed randomize from one unit test to test undefined case instead
* feat: handling a randomized reprompt * feat: unit tests for no match randomize * feat: added randomize property to test object * Update noMatch.unit.ts refactor: removed randomize from one unit test to test undefined case instead
* wip: handle no matches * chore: comments * refactor: new handler * wip: add full speak capabitilies * chore: comments * test: fix old * test: new unit * chore: rename test * feat: handling a randomized reprompt (#59) * feat: handling a randomized reprompt * feat: unit tests for no match randomize * feat: added randomize property to test object * Update noMatch.unit.ts refactor: removed randomize from one unit test to test undefined case instead
* wip: handle no matches * chore: comments * refactor: new handler * wip: add full speak capabitilies * chore: comments * test: fix old * test: new unit * chore: rename test * feat: handling a randomized reprompt (#59) * feat: handling a randomized reprompt * feat: unit tests for no match randomize * feat: added randomize property to test object * Update noMatch.unit.ts refactor: removed randomize from one unit test to test undefined case instead
Adds randomization for the reprompts.