mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
04fbc9dea2
Generate code coverage reports based on the node-qunit tests with istanbul. Changes: * Update README with npm run coverage * Add .istanbul.yml to configure istanbul * Add npm script "coverage" that runs istanbul and generates the reports Example report: http://popups-coverage.surge.sh/lcov-report/index.html Change-Id: I9be8c04b858a3ce6f4e29af2685b79253e3b4dca
9 lines
271 B
YAML
9 lines
271 B
YAML
instrumentation:
|
|
include-all-sources: true
|
|
excludes: [
|
|
"resources/dist/*", # Compiled assets
|
|
"*.js", # Gruntfile.js and webpack.config.js
|
|
"src/processLinks.js", # Covered by browser QUnit integration test
|
|
"src/index.js", # Application entry point
|
|
]
|