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

PhilippBaschke / convert-to-stylelint / 18 / 2
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 17 Dec 2016 09:53PM 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

17 Dec 2016 09:49PM UTC coverage: 100.0%. Remained the same
18.2

push

travis-ci

PhilippBaschke
Switch tests to jest

jest works with globals so they have to be added to the Eslint configuration.

I decided to move tests next to the files they test (jest picks up files that
are name *.test.js) to make them easier to locate.

The .test.js files need to be ignored when the application is build (they are
not needed to run and are shown as extra testcases otherwise).
https://github.com/skovhus/jest-codemods/blob/master/package.json
(scripts section)

jest comes with a coverage tool and a watch mode so nyc and npm-watch are no
longer needed.
https://github.com/nickmerwin/node-coveralls/issues/126#issuecomment-242963700

The jest configuration ensures that all src files are checked when the coverage
report is created (even when they are never required) and makes sure that the
compiled code is ignored.

babel-jest is needed to transform the code (including tests) before it is
executed. It just needs to be installed (will be used automatically). ES6
modules do not work without it.

1 of 1 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 18.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18
  • Travis Job 18.2
  • 885fc20f on github
  • Prev Job for on refactor/switch-to-jest (#17.1)
  • Next Job for on refactor/switch-to-jest (#19.3)
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