-
Notifications
You must be signed in to change notification settings - Fork 135
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
Lightweightify #68
Comments
POC is here: e8f946c Only problem I can see is the coverage data would be gone:
Which may be a non-starter. TODO:
|
https://github.com/SitePen/remap-istanbul#gulp-plugin Coverage is the most important thing, the other stuff should be trivial |
5781582 - remap istanbul plugged in but not configured properly |
The remapping isn't trivial. The problem is that the map ( I've hacked remap-istanbul's Ideally we would be able to produce a map / bundle that doesn't include the external modules, however then we'd be back to having to use module loaders etc. There doesn't seem to be any options to tsify to ignore certain files for mapping, and if we did so we'd lose debug data (no references to external files). I think the best solution at this point is to write a processor to remove external sources from remap-istanbul's JSON output. Arguably a PR to remap-istanbul to ignore files would also be a way to go, however I think I'd be hesitant to accept such a PR as a maintainer of that project, the problem really doesn't have anything to do with remap-istanbul IMO. So the workflow will look like:
|
d16b4b2 : separate reporting phase, needed to be able to start playing with the remapped JSON |
91be221 : pruning was easy, just remove keys from the JSON object. Includes JSHINT:
Still need to put everything together and actually see what it looks like on codecov but yeah promising |
TODO:
|
Maybe we just need an index.html kind of thing for the tests? Or just some stub html file that is sourced by karma that contains EDIT: no. |
Main change is to bunde unit tests in the same way that Ionic bundles application code. This has the following benefits:
See also:
The text was updated successfully, but these errors were encountered: