[WIP] Refactor to use babel-plugin-istanbul cont.#145
Conversation
|
Thanks for this @adamjmcgrath! Somehow I just noticed this. Will try to take a look at this soon. |
|
@adamjmcgrath I spoke with @rwjblue and he thinks this looks pretty good, so definitely some more tests and some docs would be great 😄 . Please let me know what you need help with and I'm happy to jump in. |
|
Sounds good thanks, will take a look at this in the week |
|
Have made some updates:
|
|
Thanks @adamjmcgrath! @rwjblue do you have time to do a quick review on this? |
|
@adamjmcgrath should we add something to the docs about configuring with |
@rwwagner90 Yes, although you would currently still need to declare
|
|
Thanks for adding the docs! This seems fine to me. I would like @rwjblue to take a quick look before we merge though. |
|
I ran this locally against some of my apps and addons and it seems to more or less work. This is a huge improvement from the previous version, as before it did not work at all with newer ES features like async/await. Going to go ahead and merge. Thanks so much for the PR @adamjmcgrath! If you are interested in helping out more, I could use some help going through the open issues and seeing what has been fixed by this PR and what we still need to implement. |
2a81916
into
ember-cli-code-coverage:spike-simpler-instrumentation
@rwwagner90 sure - I'm happy to help out. Will have a look through the open issues this week. |
Per #141 (comment)
appandaddonfolder using theincludesoption forbabel-plugin-istanbulTODO:
I can add some more index unit tests and update the docs if you think this is the right direction. I'd also need to remove the test fixtures I've added from the shipped addon.