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

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

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 17 Dec 2016 09:51PM UTC
Jobs 2
Files 1
Run time 1min
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
18

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

2.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18.1 17 Dec 2016 09:51PM UTC 0
100.0
Travis Job 18.1
2 18.2 17 Dec 2016 09:53PM UTC 0
100.0
Travis Job 18.2
Source Files on build 18
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #18
  • 885fc20f on github
  • Prev Build on refactor/switch-to-jest (#17)
  • Next Build on refactor/switch-to-jest (#19)
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