bespoken / virtual-alexa

:robot: Easily test and debug Alexa skills programmatically
https://bespoken.io
Apache License 2.0
112 stars 35 forks source link

Add mock for `getSystemTemperatureUnit` (`UpsServiceClient `) #111

Open chearmstrong opened 5 years ago

chearmstrong commented 5 years ago

Describe the solution you'd like A way to mock getSystemTemperatureUnit (UpsServiceClient) via the virtual-alexa library.

Describe alternatives you've considered Using nock to capture this call (outside of virtual-alexa). But having it it as part of the library would make testing and test setup better/easier for each test case.

Additional context API ref - https://ask-sdk-for-nodejs.readthedocs.io/en/latest/Calling-Alexa-Service-APIs.html#upsserviceclient