You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented it for me this way: if (currentItem.printsResponse == true) { console.log(JSON.stringify(response, null, 2)); }
to be used like this alexaTest.test([ { request: alexaTest.getLaunchRequest(), says: 'Welcome to the Alexa Skills Kit, you can say hello!', reprompts: 'Welcome to the Alexa Skills Kit, you can say hello!', shouldEndSession: false, printsResponse: true } ]);
Allow switching off/on debugging tests by printing the response. Something based on
... console.log(response); var actualSay = response.response && response.response.outputSpeech ? response.response.outputSpeech.ssml : undefined; var actualReprompt = response.response && response.response.reprompt && response.response.reprompt.outputSpeech ? response.response.reprompt.outputSpeech.ssml : undefined; ...
in ../node_modules/alexa-skill-test-framework/index.js
The text was updated successfully, but these errors were encountered: