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

kolodny / immutability-helper / 196 / 5
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2018 02:35AM UTC
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

13 Sep 2018 02:34AM UTC coverage: 100.0%. Remained the same
196.5

push

travis-ci

kolodny
Use conditional types to make types significantly safer and more robust. (#108)

* Update typings using conditional types to get significantly safer typings.

See the PR description for more details.

* Add a bunch more tests.

* Fix node-version-checking hack to work properly.

- Coerces the major version into a number to ensure proper comparisons with the literal 4.
- Can actually fail now; previously, it would always return 0 because the ternary was
  parenthesized wrong. The condition would get executed, causing the process to immediately
  exit, and the true/false branches were never hit.
- Invert the conditional check so that it can be chained in the shell command properly.
- Quiet the command so that it doesn't log concerning and misleading error messages in the
  build output.

Additionally, I turned off the filename casing check because it wasn't helping and was
failing the build.

* Reorganize types a bit to localize related things and remove indirection.

* Add tests for union and intersection types.

75 of 81 branches covered (92.59%)

128 of 128 relevant lines covered (100.0%)

31.84 hits per line

Source Files on job 196.5
  • 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 186
  • Travis Job 196.5
  • 744cb886 on github
  • Prev Job for on master (#183.1)
  • Next Job for on master (#197.5)
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