chinmaymk / angular-charts

angular directives for creating common charts using d3
MIT License
1.03k stars 270 forks source link

Test failed: angularCharts styles should add styles to the document #171

Closed dgdavidgreene closed 9 years ago

dgdavidgreene commented 9 years ago

I was getting the error: "Please set height and width for the chart element." if I put the chart div in an ng-show="toggle" div.

I went to Github, downloaded your code and tests.

When I ran Grunt I got: "INFO [PhantomJS 1.9.8 (Windows 7)]: Connected on socket VgpEwLSnvF4moJQHXDf_ with id 47713136 PhantomJS 1.9.8 (Windows 7) angularCharts styles should add styles to the document FAILED Expected '@charset "UTF-8";[ng:cloak],[ng-cloak],[data-ng-cloak],[x-ng- cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !import ant;}ng:form{display:block;}' to contain '.ng-hide{display:none'. PhantomJS 1.9.8 (Windows 7): Executed 18 of 18 (1 FAILED) (0.314 secs / 0.314 se cs) Warning: Task "karma:unit" failed. Use --force to continue.

Aborted due to warnings.

chinmaymk commented 9 years ago

I don't see any failed builds on travis-ci, could you check at your end what's going wrong?

https://travis-ci.org/chinmaymk/angular-charts/builds