feat(karma-jasmine-html-reporter): update to 1.5.3 (#43371)

- new `suppressAll` option
- minor TS header change

https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.5.2...v1.5.3

Thanks!
This commit is contained in:
Piotr Błażejewicz (Peter Blazejewicz)
2020-03-27 16:49:36 +01:00
committed by GitHub
parent 8c6769fb4a
commit 68783aa55b
2 changed files with 6 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
// Type definitions for karma-jasmine-html-reporter 1.5
// Project: https://github.com/dfederm/karma-jasmine-html-reporter#readme
// Definitions by: Piotr Błażejewicz (Peter Blazejewicz) <https://github.com/peterblazejewicz>
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2
@@ -16,6 +16,10 @@ declare module 'karma' {
jasmineHtmlReporter?: JasmineHtmlReporterOptions;
}
interface JasmineHtmlReporterOptions {
/**
* Suppress all messages (overrides other suppress settings)
*/
suppressAll?: boolean;
/** Suppress failed messages */
suppressFailed?: boolean;
}

View File

@@ -7,6 +7,7 @@ module.exports = (config: karma.Config) => {
reporters: ['progress', 'kjhtml', 'mocha'],
browsers: ['Chrome'],
jasmineHtmlReporter: {
suppressAll: true,
suppressFailed: true,
},
});