lundi 24 août 2015

how to expect element that rendered on runtime in angularjs for unit test

I am new to angularjs ,i made tow pie charts using google-charts now i want to unit test that is that but all html are loaded on runtime .how can i test this here is my html:

   <div class="chart-container">
        <div class="chart-title" style="padding-right:7em;">piechart</div>
       <div google-chart chart="data"></div>
    </div>

how can i test the pie chart because it's append by google chart in my html on runtime when page loads. thanks

Aucun commentaire:

Enregistrer un commentaire