Skip to content
Merged
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
4 changes: 3 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
'use strict';

var argv = require('yargs').argv;
var minimatch = require("minimatch");


module.exports = function (config) {
config.set({
Expand Down Expand Up @@ -115,7 +117,7 @@ module.exports = function (config) {

// Passing command line arguments to tests
client: {
files: argv.files
files: argv.files ? minimatch.makeRe(argv.files).source : null
}
});

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"@angular/router": "~3.1.2",
"core-js": "^2.4.1",
"intl": "^1.2.5",
"minimatch": "^3.0.3",
"reflect-metadata": "^0.1.8",
"rxjs": "5.0.0-beta.12",
"systemjs": "0.19.40",
Expand Down