Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. /*istanbul ignore next*/
  2.  
  3. istanbul help cover
  4.  
  5. ...
  6. -x <exclude-pattern> [-x <exclude-pattern>]
  7. one or more fileset patterns e.g. "**/vendor/**"
  8. ...
  9.  
  10. verbose: false
  11. instrumentation:
  12. root: .
  13. extensions:
  14. - .js
  15. default-excludes: true
  16. excludes: ['**/tinymce/**', '**/lib/**', '**/tools/**', '**/build/**']
  17. embed-source: false
  18. variable: __coverage__
  19. compact: true
  20. preserve-comments: false
  21. complete-copy: false
  22. save-baseline: false
  23. baseline-file: ./coverage/coverage-baseline.json
  24. include-all-sources: true
  25. include-pid: false
  26. es-modules: false
  27. reporting:
  28. print: summary
  29. reports:
  30. - lcov
  31. dir: ./tools/coverage
  32. watermarks:
  33. statements: [50, 80]
  34. lines: [50, 80]
  35. functions: [50, 80]
  36. branches: [50, 80]
  37. report-config:
  38. clover: {file: clover.xml}
  39. cobertura: {file: cobertura-coverage.xml}
  40. json: {file: coverage-final.json}
  41. json-summary: {file: coverage-summary.json}
  42. lcovonly: {file: lcov.info}
  43. teamcity: {file: null, blockName: Code Coverage Summary}
  44. text: {file: null, maxCols: 0}
  45. text-lcov: {file: lcov.info}
  46. text-summary: {file: null}
  47. hooks:
  48. hook-run-in-context: false
  49. post-require-hook: null
  50. handle-sigint: false
  51. check:
  52. global:
  53. statements: 0
  54. lines: 0
  55. branches: 0
  56. functions: 0
  57. excludes: []
  58. each:
  59. statements: 0
  60. lines: 0
  61. branches: 0
  62. functions: 0
  63. excludes: []
  64.  
  65. istanbul -x "**/pattern/to/exclude/**" cover _mocha -- --recursive -R tap test/ > test.tap && istanbul report clover – snoof 9 hours ago
  66.  
  67. istanbul cover -x '**/config/**' _mocha -- --recursive -R tap test/ > test.tap && istanbul report clover
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement