Skip to content
Snippets Groups Projects
Commit 2bab4006 authored by Javier de la Rosa's avatar Javier de la Rosa
Browse files

Fixes #1390. Modify karma.conf.js to allow passing in a KARMA_SPECS env var to...

Fixes #1390. Modify karma.conf.js to allow passing in a KARMA_SPECS env var to only run just those test specified
parent bf3eb06b
No related branches found
No related tags found
No related merge requests found
......@@ -49,10 +49,9 @@ module.exports = function(config) {
'js/src/utils/*.js',
// spec
'spec/**/*.stub.js',
'spec/**/*.js',
{pattern: 'spec/data/*', watched: true, served: true, included: false},
{pattern: 'spec/fixtures/*json', watched: true, served: true, included: false},
],
{pattern: 'spec/fixtures/*json', watched: true, served: true, included: false}
].concat(!process.env.KARMA_SPECS ? ['spec/**/*.js'] : process.env.KARMA_SPECS.split(',')),
// list of files to exclude
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment