• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codetheweb / tuyapi / 136 / 1
58%
master: 58%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2018 05:11PM UTC
Files 2
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2018 05:08PM UTC coverage: 70.588%. Remained the same
136.1

push

travis-ci

codetheweb
Handle error from device better

* handle error nicely

at this point, my device returns the string `gw id invalid` here and therefore, a crash:

```
TypeError: Cannot read property '1' of undefined
    at _send.then.data (/.../Code/Node/tuyapi/node_modules/tuyapi/index.js:181:27)
    at process._tickCallback (internal/process/next_tick.js:68:7)
```

* Fix XO error

12 of 26 branches covered (46.15%)

Branch coverage included in aggregate %.

72 of 93 relevant lines covered (77.42%)

0.84 hits per line

Source Files on job 136.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 100
  • Travis Job 136.1
  • 897a3098 on github
  • Prev Job for on master (#133.2)
  • Next Job for on master (#137.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc