Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
coverage
node_modules
server/datasources.local.json
server/model-config.local.json
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Learning Management System for Neukinnis
========================================

[![Build Status](https://img.shields.io/travis/startersacademy/fullstack-project-01/master.svg)](https://travis-ci.org/startersacademy/fullstack-project-01)
[![Coverage Status](https://img.shields.io/coveralls/startersacademy/fullstack-project-01/master.svg)](https://coveralls.io/r/startersacademy/fullstack-project-01)
[![Stories in Ready](https://badge.waffle.io/startersacademy/fullstack-project-01.svg?label=ready&title=Ready)](http://waffle.io/startersacademy/fullstack-project-01)
[![Build Status](https://travis-ci.org/startersacademy/fullstack-project-01.svg?branch=master)](https://travis-ci.org/startersacademy/fullstack-project-01)
[![Coverage Status](https://coveralls.io/repos/startersacademy/fullstack-project-01/badge.svg)](https://coveralls.io/r/startersacademy/fullstack-project-01)

Requirements
------------
Expand Down
6 changes: 2 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ gulp.task('test:unit', function (done) {
karma.start({
configFile: __dirname + '/karma.conf.js',
singleRun: true,
autoWatch: false,
reporters: ['dots']
autoWatch: false
}, done);
});

Expand All @@ -106,8 +105,7 @@ gulp.task('test:unit:tdd', function (done) {
karma.start({
configFile: __dirname + '/karma.conf.js',
singleRun: false,
autoWatch: true,
reporters: ['dots']
autoWatch: true
}, done);
});

Expand Down
16 changes: 14 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Karma configuration
// Generated on Sun Jan 18 2015 21:07:20 GMT-0800 (PST)

var istanbul = require('browserify-istanbul');

module.exports = function(config) {
config.set({

Expand Down Expand Up @@ -32,15 +34,25 @@ module.exports = function(config) {

browserify: {
debug: true,
transform: ['brfs'],
transform: ['brfs', istanbul({
ignore: ['**/node_modules/**', '**/spec/**'],
})],
bundleDelay: 1000
},


// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['dots'],
reporters: ['coverage', 'coveralls', 'dots'],


coverageReporter: {
reporters: [
{type: 'html'},
{type: 'lcov'},
],
},


// web server port
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"loopback-explorer": "^1.1.0"
},
"devDependencies": {
"browserify-istanbul": "^0.1.5",
"frisby": "git+https://github.com/vlucas/frisby.git",
"gulp": "^3.8.10",
"gulp-develop-server": "^0.2.5",
Expand All @@ -52,6 +53,8 @@
"karma": "^0.12.31",
"karma-browserify": "^2.0.0",
"karma-chrome-launcher": "^0.1.7",
"karma-coverage": "^0.2.6",
"karma-coveralls": "^0.1.5",
"karma-jasmine": "^0.3.5",
"strongloop": "^2.10.2"
}
Expand Down