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

codetheweb / tuyapi / 224
58%

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

pending completion
224

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%)

3.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 224.1 16 Feb 2019 04:28PM UTC 0
68.18
Travis Job 224.1
2 224.2 16 Feb 2019 04:28PM UTC 0
68.18
Travis Job 224.2
3 224.3 16 Feb 2019 04:28PM UTC 0
68.18
Travis Job 224.3
4 224.4 16 Feb 2019 04:28PM UTC 0
68.18
Travis Job 224.4
Source Files on build 224
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #224
  • e193caeb on github
  • Prev Build on master (#216)
  • Next Build on master (#225)
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