alex-seville / blanket

blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.
http://blanketjs.org
Other
1.41k stars 177 forks source link

jasmine-gem sprockets blanket #337

Open valikos opened 10 years ago

valikos commented 10 years ago

How can I use blanket with jasmine-gem and sprockets for sinatra project I look many people used requirejs I do not know what files I need to connect I connect blanket.js and jasmine-blanket.js adapter and have this errors

Uncaught TypeError: Object #<Object> has no method 'beforeStartTestRunner' suite.js:1065
(anonymous function) suite.js:1065 blanket.beforeStartTestRunner({
(anonymous function) suite.js:1076 )}
waiting for blanket... 
mnoble01 commented 10 years ago

I'm getting the same error with the mocha adapter in v1.1.5

alex-seville commented 10 years ago

If you're using a gem anyway, you may find istanbul to be a more robust solution. I'm not sure how compatible Blanket is with the Jasmine gem.

jayd3e commented 10 years ago

I just received this error as well using mocha adapter in v1.1.6.