I'm trying to run an end-to-end test that is using momentJs for date
manipulation.
And I have added it as a dependency in my package.json file and installed
it so it available.
Then at the very top of my end-to-end test file I include it as a module
with the require directive (require('moment')).
But when I run this test I get an exception: ReferenceError: moment is not
defined

It should be loaded at that point, shouldn't it?

-- 
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.

Reply via email to