Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
ES6 coverage, updated karma and jasmine dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bellstrand committed Jun 20, 2016
1 parent a336613 commit 7e74cc3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
11 changes: 0 additions & 11 deletions skeleton-esnext/build/tasks/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,7 @@ gulp.task('cover', function(done) {
configFile: __dirname + '/../../karma.conf.js',
singleRun: true,
reporters: ['coverage'],
preprocessors: {
'test/**/*.js': ['babel'],
'src/**/*.js': ['babel', 'coverage']
},
coverageReporter: {
includeAllSources: true,
instrumenters: {
isparta: require('isparta')
},
instrumenter: {
'src/**/*.js': 'isparta'
},
reporters: [
{ type: 'html', dir: 'coverage' },
{ type: 'text' }
Expand Down
3 changes: 2 additions & 1 deletion skeleton-esnext/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ module.exports = function(config) {
plugins: [
'syntax-flow',
'transform-decorators-legacy',
'transform-flow-strip-types'
'transform-flow-strip-types',
[ '__coverage__', { 'ignore': 'test/' } ]
]
}
},
Expand Down
11 changes: 5 additions & 6 deletions skeleton-esnext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"aurelia-tools": "^0.1.18",
"babel-core": "^6.7.2",
"babel-eslint": "^5.0.0",
"babel-plugin-__coverage__": "^11.0.0",
"babel-plugin-syntax-flow": "^6.5.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-amd": "^6.6.5",
Expand All @@ -48,16 +49,14 @@
"gulp-plumber": "^1.0.1",
"gulp-protractor": "1.0.0",
"gulp-sourcemaps": "^1.3.0",
"isparta": "^3.1.0",
"istanbul": "^0.3.13",
"jasmine-core": "^2.1.3",
"jasmine-core": "^2.4.1",
"jspm": "0.16.15",
"karma": "^0.13.15",
"karma-babel-preprocessor": "^6.0.1",
"karma-chrome-launcher": "^0.2.1",
"karma-coverage": "^0.5.3",
"karma-jasmine": "^0.3.5",
"karma-jspm": "2.0.1-beta.2",
"karma-coverage": "^0.5.5",
"karma-jasmine": "^1.0.2",
"karma-jspm": "^2.1.1",
"object.assign": "^1.0.3",
"require-dir": "^0.1.0",
"run-sequence": "^1.0.2",
Expand Down

0 comments on commit 7e74cc3

Please sign in to comment.