chinmaymk/angular-charts

Test failed: angularCharts styles should add styles to the document

Closed this issue · 1 comments

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.

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