Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
c39fd2ff
Commit
c39fd2ff
authored
Mar 14, 2017
by
M. Reza Qorib
Browse files
[#140382397] #3 fix karma
parent
a0ae23bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c39fd2ff
test
:
test
:
script
:
script
:
-
uname -a
-
apt-get install -f
-
apt-get install -f
-
apt-get update -qy
-
apt-get update -qy
-
apt-get install -y python-dev python-pip sudo postgresql postgresql-client libpq-dev libxss1 libappindicator1 libindicator7
-
apt-get install -y python-dev python-pip sudo postgresql postgresql-client libpq-dev libxss1 libappindicator1 libindicator7
...
...
karma.conf.js
View file @
c39fd2ff
...
@@ -7,7 +7,7 @@ module.exports = function (config) {
...
@@ -7,7 +7,7 @@ module.exports = function (config) {
customLaunchers
:
{
customLaunchers
:
{
MyChrome
:
{
MyChrome
:
{
base
:
'
Chrome
'
,
base
:
'
Chrome
'
,
flags
:
[
'
--no-sandbox
'
,
'
--disable-web-security
'
,
'
--headless
'
,
'
--disable-gpu
'
,
'
--remote-debugging-port=9222
'
]
flags
:
[
'
--no-sandbox
'
,
'
--disable-web-security
'
,
'
--headless
'
,
'
--disable-gpu
'
]
}
}
},
},
singleRun
:
true
,
//just run once by default
singleRun
:
true
,
//just run once by default
...
...
webpack.config.js
View file @
c39fd2ff
...
@@ -28,6 +28,10 @@ module.exports = {
...
@@ -28,6 +28,10 @@ module.exports = {
}
}
}
}
],
],
postLoaders
:
[
{
//delays coverage til after tests are run, fixing transpiled source coverage error
test
:
/
\.
js$/
,
exclude
:
/
(
test|node_modules|bower_components
)\/
/
,
loader
:
'
istanbul-instrumenter
'
}
]
},
},
resolve
:
{
resolve
:
{
...
...
Write
Preview
Supports
Markdown
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