Fakultas Ilmu Komputer UI

Commit c39fd2ff authored by M. Reza Qorib's avatar M. Reza Qorib
Browse files

[#140382397] #3 fix karma

parent a0ae23bc
test:
script:
- uname -a
- apt-get install -f
- apt-get update -qy
- apt-get install -y python-dev python-pip sudo postgresql postgresql-client libpq-dev libxss1 libappindicator1 libindicator7
......
......@@ -7,7 +7,7 @@ module.exports = function (config) {
customLaunchers: {
MyChrome: {
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
......
......@@ -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: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment