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

codetheweb / tuyapi / 224 / 4
58%
master: 58%

Build:
DEFAULT BRANCH: master
Ran 16 Feb 2019 04:29PM UTC
Files 2
Run time 0s
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

16 Feb 2019 04:25PM UTC coverage: 68.182% (-2.4%) from 70.588%
224.4

push

travis-ci

web-flow
Refactor and Clean Up (#143)

* Convert TuyaCipher to ES6 class

* Add hooks for testing

* Convert MessageParser to ES6 class

* Only package necessary files

* Clean up constructor checks

* Refactor get/set into ES6 async/await syntax

* Refactor resolveId() -> find()

* Simplify _send()

* Rename `__ping`

* Massively simplify get/set with/without events

Will now *always* emit event on data, `get()` will
*always* return data. Nice and simple. :)

* Simplify _send() and add comments

* Simplify `connect()`

* Update docs

* Clean up debug() statements

* Fix retry in send()

* Fix `find()`

* Update README

* Remove persistent option, `.connect()` in `.send()`, and add option to return all devices in `.find()`

* Fix `.find()` when returning all devices

* Fix `.find()` returing multiples

* Fix `.find()` returning multiples

12 of 26 branches covered (46.15%)

Branch coverage included in aggregate %.

63 of 84 relevant lines covered (75.0%)

0.82 hits per line

Source Files on job 224.4
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 176
  • Travis Job 224.4
  • e193caeb on github
  • Prev Job for on master (#216.4)
  • Next Job for on master (#225.2)
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

© 2026 Coveralls, Inc