Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
2d4f1b27
Unverified
Commit
2d4f1b27
authored
4 years ago
by
XhmikosR
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Update karma.conf.js (#32182)
When we are on CI, this statement won't be reached.
parent
2b0b3091
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/karma.conf.js
+1
-1
js/tests/karma.conf.js
with
1 addition
and
1 deletion
+1
-1
js/tests/karma.conf.js
+
1
-
1
View file @
2d4f1b27
...
@@ -33,7 +33,7 @@ const detectBrowsers = {
...
@@ -33,7 +33,7 @@ const detectBrowsers = {
return
debug
?
[
'
Chrome
'
]
:
[
'
ChromeHeadless
'
]
return
debug
?
[
'
Chrome
'
]
:
[
'
ChromeHeadless
'
]
}
}
if
(
env
.
CI
===
true
||
availableBrowser
.
includes
(
'
Chromium
'
))
{
if
(
availableBrowser
.
includes
(
'
Chromium
'
))
{
return
debug
?
[
'
Chromium
'
]
:
[
'
ChromiumHeadless
'
]
return
debug
?
[
'
Chromium
'
]
:
[
'
ChromiumHeadless
'
]
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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