lathonez / clicker

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis
http://lathonez.com/2018/ionic-2-unit-testing/
MIT License
430 stars 136 forks source link

Using karma custom template properties to override HTMLs #137

Closed lazaromenezes closed 8 years ago

lazaromenezes commented 8 years ago

Hi,

This pull request changes the way the Karma context and debug HTML files are replaced.

Instead of copying the custom HTML files to Karma install, it uses Karma's customContextFile and customDebugFile properties to tell Karma to use HTML files with tags.

Thanks, Lazaro

codecov-io commented 8 years ago

Current coverage is 69.78% (diff: 100%)

Merging #137 into master will not change coverage

@@             master       #137   diff @@
==========================================
  Files            16         16          
  Lines           331        331          
  Methods          20         20          
  Messages          0          0          
  Branches         47         47          
==========================================
  Hits            231        231          
  Misses           81         81          
  Partials         19         19          

Powered by Codecov. Last update bb3a749...32a45fa

lathonez commented 8 years ago

Thank you!