Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

Commented Unassigned: RequireJS racing conditions in coverage (blanket.js) fail to load tests [268]

$
0
0
When your project is 100% based on requireJS modules, there is a racing condition and mostly of the time the code coverage library (blanket.js) doesn't wait enough for all the `requirejs` dependinces to be loaded.

We have sorted this out by
https://github.com/alex-seville/blanket/issues/156#issuecomment-48900801


Please apply a similar fix to chutzpah's `blanket_qunit.js` file and requireJS samples.

Thank you.
Comments: Thanks for filing this. I can take a look but since you already have the fix feel free to submit a PR

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>