-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some es5 to es6, coverage improvement and fix script commands #38
Conversation
@@ -361,8 +356,8 @@ Why? When a browser opens the client side of your application, this package inte | |||
- type: the type of report you want to create inside your `COVERAGE_APP_FOLDER` | |||
|
|||
- Default: `coverage`, used to dump the coverage object in a file because when there are several types of test, we want to merge results, and the server reloads between each one. | |||
- Allowed values: `cobertura`, `html`, `json`, `json-summary`, `lcov`, `teamcity`, `text`, `text-lcov`, `text-summary`, `lcovonly`, `coverage`, `remap` | |||
- **Not working values:** `clover`, `cobertura`, `lcov`, `text`, `text-lcov`, PR welcome | |||
- Allowed values: `cobertura`, `coverage`, `html`, `json`, `json-summary`, `lcov`, `lcovonly`, `remap`, `teamcity`, `text`, `text-lcov`, `text-summary` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove teamcity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "not working" values are listed in "Allowed values" too. I should remove then cobertura
, text-lcov
, lcov
, text
and teamcity
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad. As you want
@@ -112,18 +121,12 @@ instrumentClientJs = function (params, req, res, next) { | |||
} | |||
}; | |||
|
|||
|
|||
let noop = function () {}; | |||
export default Handlers = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sadness... You optimized some legacy code. Handlers is not exposed anymore if Conf.IS_ACTIVE === false
, so it does not require this mechanism
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I can remove all the export...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
All right for me. |
Current coverage is 69.86% (diff: 81.25%)@@ dev-1.0.0 #38 diff @@
===========================================
Files 22 21 -1
Lines 774 730 -44
Methods 0 0
Messages 0 0
Branches 0 0
===========================================
- Hits 588 510 -78
- Misses 186 220 +34
Partials 0 0
|
* warn user when invalid .coverage.json * fix details page on html report with package test * two new exclusions for client side * bootstrap in separate file * fix not considered source map path patterns * generic glob patterns for exclusions * publishing workspace - wip * fix coverage verbosity * Update the readme with --settings usage + add some changes to @cgalvarez pull requests #26 #22 + reliability tests for client instrumentation script * Deploy 0.9.6 with - new configuration file - internal behavior fixed - new readme * Improve client errors and improve SourceMap.alterSourceMapPaths * Update README.md * Update README.md * Fix SourceMap sources paths * Remove old check inside coverage-data.js that existed when source maps where not reliable + lint + still a bug with client coverage that is not correcty exported in reports * fix four new source pattern and cover all test-packages perms (location and pkg quantity) * fix four new source pattern and cover all test-packages perms (location and pkg quantity) * new/remap * Edit the configuration file to remove 1 test from coverage + improve readme.md * Remove legacy code used by meteor-coverage to override wrong paths that we had before. more aggressive way than #36 * merge #37 * some es5 to es6, coverage improvement and fix script commands (#38) * some es5 to es6, coverage improvement and fix script commands * remove legacy code and fix readme info * revert handlers export * don't run ghost test * set spacejam as devdep * fix script commands with new spacejam syntax
Some coverage improvement and some changes from es5 to es6.