# Code coverage with blanket.js

**URL:** <https://discuss.emberjs.com/t/code-coverage-with-blanket-js/6619>\
**Category:** Testing\
**Created:** [November 3, 2014, 11:21pm UTC](https://discuss.emberjs.com/t/code-coverage-with-blanket-js/6619 "2014-11-03T23:21:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattmarcum](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/mattmarcum/32/13635_2.png) [@mattmarcum](https://discuss.emberjs.com/u/mattmarcum)\
**Post date:** [November 3, 2014, 11:21pm UTC](https://discuss.emberjs.com/t/code-coverage-with-blanket-js/6619/1 "2014-11-03T23:21:04Z")

</div>

Has anyone gotten blanket.js to work with an ember-cli app? I’ve got the lib installed via bower and imported correctly in my brocfile. I added the `data-cover` attribute to my js file. I can see that the blanket.js file is loaded correctly in my browser (after the the ‘test-support’ file with ember-qunit/qunit). When I go to my `/tests` url all I get is the normal qunit page with no tests running, just a message where the first test should be that says `running....`

I even added the `data-cover-flags="debug"` attribute to the blanket.js script tag but still get nothing.

---

<div class="post-metadata">

**Author:** ![caligoanimus](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/caligoanimus/32/9628_2.png) [@caligoanimus](https://discuss.emberjs.com/u/caligoanimus)\
**Post date:** [December 18, 2014, 12:00am UTC](https://discuss.emberjs.com/t/code-coverage-with-blanket-js/6619/2 "2014-12-18T00:00:38Z")

</div>

I haven’t tried it yet but am going to: [ember-cli-blanket - npm](https://www.npmjs.com/package/ember-cli-blanket)

It was noted in the Ember Weekly newsletter recently.

---

<div class="post-metadata">

**Author:** ![clizreynolds](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@clizreynolds](https://discuss.emberjs.com/u/clizreynolds)\
**Post date:** [December 24, 2014, 11:44am UTC](https://discuss.emberjs.com/t/code-coverage-with-blanket-js/6619/3 "2014-12-24T11:44:19Z")

</div>

**caligoanimus** - have you made any progress with using ember-cli-blanket? I also have tried installing it, and not including/including the ‘assets/blanket.js’ file in my tests/index.html, with varying degrees of success.

**mattmarcum** - the problem with using the standard version of blanket available through bower is that it doesn’t support ES6 transpiled modules which is what ember-cli use. I think this is the main issue that ember-cli-blanket tries to address however I’m still having problems with it.

[My SO question](http://stackoverflow.com/questions/25907782/ember-cli-importing-blanket-js-causes-test-runners-to-hang) (among many other similar unanswered questions: [here](http://stackoverflow.com/questions/26337199/ember-cli-and-code-coverage?lq=1))
