twilio-labs / actions-sms

Send an SMS through GitHub Actions
MIT License
150 stars 40 forks source link

Tests: test function value instead of debug log #11

Closed jsmrcaga closed 5 years ago

jsmrcaga commented 5 years ago

Contributing to Twilio

In this PR I tried to render the testing more resilient by testing the actual return function instead of testing the core/log values.

I also tried to render the async/await syntax more homogeneous.

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.