Polyconseil / systematic

An opinionated ES6 toolchain for the browser.
25 stars 3 forks source link

Add coverage options to all our tests #85

Closed vperron closed 5 years ago

vperron commented 5 years ago
(palettone) [vperron@M]<~/dev/palettone-ui> make jenkins-test
eslint --config ./node_modules/systematic/.eslintrc --ext .js,.vue --plugin html src
JEST_JUNIT_OUTPUT='./reports/TEST-jest.xml' JEST_JUNIT_CLASSNAME="{classname}" JEST_JUNIT_TITLE="{title}" jest --ci --coverage --reporters=default --reporters=jest-junit --config=node_modules/systematic/default_config/jest.conf.js --no-cac
he             
 PASS  src/pages/app.spec.js
  App
    ✓ should export "App" (4ms)
  Overview                                                              
    ✓ should export "Overview"

--------------------|----------|----------|----------|----------|-------------------|
File                |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
--------------------|----------|----------|----------|----------|-------------------|
All files           |     4.76 |        0 |        0 |     4.76 |                   |
 src                |        0 |        0 |        0 |        0 |                   |
  api.js            |        0 |      100 |        0 |        0 |... 38,40,46,47,48 |
  auth.js           |        0 |        0 |      100 |        0 |   3,4,6,8,9,14,19 |
  index.js          |        0 |        0 |        0 |        0 |... 63,66,67,70,71 |
  router.js         |        0 |      100 |      100 |        0 |       1,2,4,5,7,9 |
 src/components     |    28.57 |      100 |        0 |    28.57 |                   |
  LeafletMap.vue    |    28.57 |      100 |        0 |    28.57 |    14,15,21,25,26 |
 src/pages          |      100 |      100 |      100 |      100 |                   |
  overview.vue      |      100 |      100 |      100 |      100 |                   |
 src/store          |        0 |      100 |      100 |        0 |                   |
  index.js          |        0 |      100 |      100 |        0 |... ,8,10,16,21,22 |
  mutation-types.js |        0 |      100 |      100 |        0 |                 1 |
--------------------|----------|----------|----------|----------|-------------------|
Test Suites: 1 passed, 1 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        5.681s
Ran all test suites.