Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
config/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) {
basePath
:
ROOT_PATH
,
frameworks
:
[
'
jquery-2.1.0
'
,
'
jasmine
'
],
files
:
[
'
spec/javascripts/*_spec.js
'
,
'
spec/javascripts/*_spec.js.es6
'
,
{
pattern
:
'
spec/javascripts/fixtures/**/*.html
'
,
included
:
false
,
served
:
true
},
{
pattern
:
'
spec/javascripts/fixtures/**/*.json
'
,
included
:
false
,
served
:
true
},
'
spec/javascripts/**/*_spec.js?(.es6)
'
,
{
pattern
:
'
spec/javascripts/fixtures/**/*@(.json|.html|.html.raw)
'
,
included
:
false
},
],
preprocessors
:
{
'
spec/javascripts/*_spec.js
'
:
[
'
webpack
'
],
'
spec/javascripts/*_spec.js.es6
'
:
[
'
webpack
'
],
'
app/assets/javascripts/**/*.js
'
:
[
'
webpack
'
],
'
app/assets/javascripts/**/*.js.es6
'
:
[
'
webpack
'
],
'
spec/javascripts/**/*_spec.js?(.es6)
'
:
[
'
webpack
'
],
},
webpack
:
webpackConfig
,
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