I'm working with a build of an AngularJS application, which uses Karma for its unit tests. These tests are presently all working fine.
I'm trying to integrate RequireJS into just the tests. I've been stepping through issues one by one, but I've now hit an obstacle I don't understand how to resolve. When I hit an "unresolved module" error, I simply figure out which static JavaScript file defines that module and map it in my RequireJS config. I've now hit a problem with a module reference that doesn't appear to correspond to a physical JavaScript file. In the Karma config, it uses the "ngHtml2JsPreprocessor" to produce a "templates" module, apparently dynamically. I don't understand how I can resolve this reference in my RequireJS configuration. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
