Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MurhafSousli committed Jan 28, 2021
1 parent 6de9a03 commit 07afb7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,14 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/ngx-scrollbar'),
dir: require('path').join(__dirname, './coverage'),
subdir: '.',
reporters: [
{ type: 'html' },
{ type: 'text-summary' },
{ type: 'lcov', dir: 'coverage/' }
{ type: 'text-summary' }
]
},
reporters: ['progress', 'kjhtml', 'coverage'],
preprocessors: {
'src/app/**/*.js': ['coverage']
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build-demo": "ng build ngx-scrollbar-demo --prod",
"build-lib": "ng build ngx-scrollbar --prod",
"test-lib": "ng test ngx-scrollbar",
"test-lib-headless": "ng test ngx-scrollbar --watch=false --no-progress --browsers=ChromeHeadless --code-coverage=true",
"test-lib-headless": "ng test ngx-scrollbar --watch=false --no-progress --browsers=ChromeHeadless --code-coverage",
"link-lib": "npm link dist/ngx-scrollbar && npm link ngx-scrollbar",
"publish-lib": "npm publish dist/ngx-scrollbar",
"dev:ssr": "ng run ngx-scrollbar-demo:serve-ssr",
Expand Down

0 comments on commit 07afb7c

Please sign in to comment.