I got it working after some tinkering, and with a little help from the 
documentation 
here: https://angular.io/docs/ts/latest/testing/testing-an-angular-pipe.html

Turns out I needed to add three files to the script tags at the top of 
unit-tests.html:

   - node_modules/angular2/bundles/angular2-polyfills.js
   - node_modules/rxjs/bundles/Rx.js
   - node_modules/angular2/bundles/angular2.dev.js
   
I'm now able to run unit tests on both services and pipes.

Updated unit-tests.html file is attached.




-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Title: Jasmine Tests

Reply via email to