frintjs/frint

frint-router-react: improve test coverage

Open

#269 opened on Aug 18, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (37 forks)batch import
help wanted

Repository metrics

Stars
 (746 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Current coverage report:

$ (cd ./packages/frint-router-react && npm run cover:report)

----------------|----------|----------|----------|----------|----------------|
File            |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
----------------|----------|----------|----------|----------|----------------|
All files       |    94.95 |    86.76 |    81.48 |    97.89 |                |
 Link.js        |      100 |    85.71 |      100 |      100 |       18,42,93 |
 Link.spec.js   |     97.6 |       50 |    91.67 |    97.58 |     18,268,282 |
 Route.js       |      100 |    96.55 |      100 |      100 |             20 |
 Route.spec.js  |    96.53 |      100 |    86.84 |      100 |                |
 Switch.js      |      100 |       80 |      100 |      100 |          15,37 |
 Switch.spec.js |    86.82 |    66.67 |    65.79 |    94.07 |... 65,67,75,77 |
----------------|----------|----------|----------|----------|----------------|

Contributor guide