/dummy-6to5-karma-coverage

:skull: Dummy babel/6to5 project to test karma coverage on it with isparta

Primary LanguageJavaScript

💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀



Outdated



💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀












Dummy-6to5-karma-coverage Build Status

Dummy babel/6to5 project to test karma coverage on it with isparta

Dev Dependencies

{
  "babel-core": "^4.0.0",
  "chai": "^1.10.0",
  "isparta": "^2.0.0",
  "karma": "^0.12.31",
  "karma-babel-preprocessor": "^4.0.0",
  "karma-chai": "^0.1.0",
  "karma-coverage": "douglasduteil/karma-coverage#next",
  "karma-jspm": "^1.1.3",
  "karma-mocha": "^0.1.10",
  "karma-phantomjs-launcher": "^0.1.4",
  "mocha": "^2.1.0"
}

Initial setup

npm install -g karma-cli jspm
npm install
jspm install

Running the tests

# Normal testing
npm test
# Testing with coverage :)
npm run coverage
# Consult the result on the coverage folder
google-chrome coverage/phantomjs/index.html