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

kaesetoast / find-in-files / 16
100%

Build:
DEFAULT BRANCH: master
Ran 11 Jan 2017 10:03PM UTC
Jobs 1
Files 1
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

pending completion
16

Pull #4

travis-ci

web-flow
Fix how the promises are created and handle them properly in the unit tests
  - Catch the possible errors from the find library (find.file method)
    - With the built-in error handler for the async method
    - With a try/catch for the sync method
    - Properly reject the generated promise with the given error (if any)
  - Fix the unit tests to properly handle the promises following the below guidelines
    https://www.sitepoint.com/promises-in-javascript-unit-tests-the-definitive-guide/
    - Add Chai As Promised to do so
    - Remove all done() callbacks (useless)
    - Add a unit test to handle an error when the root directory does not exist
Pull Request #4: Fix how the promises are created and handle them properly in the tests

8 of 8 new or added lines in 1 file covered. (100.0%)

52 of 52 relevant lines covered (100.0%)

76.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16.1 11 Jan 2017 10:03PM UTC 0
100.0
Travis Job 16.1
Source Files on build 16
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #16
  • Pull Request #4
  • PR Base - master (#15)
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