Hi all,

EDIT. I tried to ask in karma-users group 
<https://groups.google.com/forum/#!topic/karma-users/WhDaasJK_3g> with no 
luck. Hopefully here will get some feedback.

I have started a couple of week ago with Angular2, Karma and all of its 
ecosystem (node, npm, mocha, chai, Typescript....), after doing some 
training and a couple of prototypes now I am trying to set up from scratch 
a real project.

For some reasons I need to have working mocha and jasmine as a requirement 
(Jasmine for testing frontend components and Mocha for doing some tests in 
backend).

Also I would like to have both configurations working when I run:

npm run test* //which is in the package.json runs ng test*

 

What I have tried so far?

   1. My first attempt was configure angular-cli.json file. Tried to 
   specify "ey here are two configurations", but... it only allows one 
   karma property 
   
<https://github.com/angular/angular-cli/blob/master/packages/%40angular/cli/lib/config/schema.json#L263>
   2. Second attempt was try to load jasmine and mocha in the karma.con.js 
   and then try to specify folders for each framework..., but karma seems to 
   not allow to run multiple testing frameworks 
   <https://groups.google.com/forum/#%21topic/karma-users/SRNwt6HwhBs>
   3. Many other not relevant attempts.

So, the question is, it would be possible running ng-test to have both 
configurations working? If so, how?


Really thank you for your time.


AIC.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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.

Reply via email to