Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use karma-spec-reporter and suppress passed #8564

Merged
merged 1 commit into from Mar 4, 2021
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -30,7 +30,7 @@ module.exports = function(karma) {

karma.set({
frameworks: ['jasmine'],
reporters: ['progress', 'kjhtml'],
reporters: ['spec', 'kjhtml'],
browsers: (args.browsers || 'chrome,firefox').split(','),
logLevel: karma.LOG_INFO,

@@ -40,6 +40,16 @@ module.exports = function(karma) {
}
},

specReporter: {
// maxLogLines: 5, // limit number of lines logged per test
suppressErrorSummary: true, // do not print error summary
suppressFailed: false, // do not print information about failed tests
suppressPassed: true, // do not print information about passed tests
suppressSkipped: false, // do not print information about skipped tests
showSpecTiming: false, // print the time elapsed for each spec
failFast: false // test would finish with error when a first fail occurs.
},

// Explicitly disable hardware acceleration to make image
// diff more stable when ran on Travis and dev machine.
// https://github.com/chartjs/Chart.js/pull/5629

Some generated files are not rendered by default. Learn more.

@@ -76,6 +76,7 @@
"karma-jasmine-html-reporter": "^1.5.4",
"karma-rollup-preprocessor": "^7.0.5",
"karma-safari-private-launcher": "^1.0.0",
"karma-spec-reporter": "0.0.32",
"markdownlint-cli2": "0.0.14",
"moment": "^2.29.1",
"pixelmatch": "^5.2.1",
ProTip! Use n and p to navigate between commits in a pull request.