Assert issue with speech

unit-testing
amazon-alexa

#1

hi
i wish to make assertion for this in unit test, but how to make with break2s ?

this.$speech.addText(speech).addBreak(‘2s’).addText('Question ? ’ + questionSuivante);

regards


#2

This method gives you the full response text, with SSML like <break time="2s"/>
response.getSpeech()