Open josoroma-zz opened 7 years ago
Can you add your code as example? You only should need to import the module and then load it on beforeEach:
import ThirdPartyModule from 'angular-thirdparty';
import TestModule from './test';
describe('Some test', () => {
// Modules import
beforeEach(()=>{
window.module(ThirdPartyModule );
window.module(TestModule);
});
});
I'm having troubles with ng-annotate and ES6 Classes though, I have to declare the controller/service as an array of dependencies and finally a function instead of a Class with ng-annotate.
Hi!
I was wondering if you have ideas or examples on how to apply unit testing with Restangular:
Thanks in advance.