lundi 2 novembre 2015

Angular - document.ready() issue, Jasmine testing

How to test (using Jasmine) Angular code encapsulated inside $(function(){...}) without breaking/halting in any way already working angular app? I have such a situation, when each module is defined like this:

$(function(){
  angular.module('templates', ['commons']) 
  ...
})

And I want to test it.

Aucun commentaire:

Enregistrer un commentaire