BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c2bd29ec
Commit
c2bd29ec
authored
Jan 06, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify and combine karma file patterns
parent
8b26f8ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
karma.config.js
config/karma.config.js
+3
-10
No files found.
config/karma.config.js
View file @
c2bd29ec
...
@@ -8,20 +8,13 @@ module.exports = function(config) {
...
@@ -8,20 +8,13 @@ module.exports = function(config) {
basePath
:
ROOT_PATH
,
basePath
:
ROOT_PATH
,
frameworks
:
[
'jquery-2.1.0'
,
'jasmine'
],
frameworks
:
[
'jquery-2.1.0'
,
'jasmine'
],
files
:
[
files
:
[
'spec/javascripts/*_spec.js'
,
'spec/javascripts/**/*_spec.js?(.es6)'
,
'spec/javascripts/*_spec.js.es6'
,
{
pattern
:
'spec/javascripts/fixtures/**/*@(.json|.html|.html.raw)'
,
included
:
false
},
{
pattern
:
'spec/javascripts/fixtures/**/*.html'
,
included
:
false
,
served
:
true
},
{
pattern
:
'spec/javascripts/fixtures/**/*.json'
,
included
:
false
,
served
:
true
},
],
],
preprocessors
:
{
preprocessors
:
{
'spec/javascripts/*_spec.js'
:
[
'webpack'
],
'spec/javascripts/**/*_spec.js?(.es6)'
:
[
'webpack'
],
'spec/javascripts/*_spec.js.es6'
:
[
'webpack'
],
'app/assets/javascripts/**/*.js'
:
[
'webpack'
],
'app/assets/javascripts/**/*.js.es6'
:
[
'webpack'
],
},
},
webpack
:
webpackConfig
,
webpack
:
webpackConfig
,
webpackMiddleware
:
{
stats
:
'errors-only'
},
webpackMiddleware
:
{
stats
:
'errors-only'
},
});
});
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment