Skip to content

Commit

Permalink
Merge pull request #10574 from IgniteUI/tests-coverage
Browse files Browse the repository at this point in the history
chore(*): leaving only lcov coverage reporter
  • Loading branch information
ChronosSF authored Nov 19, 2021
2 parents 9be9cb4 + e9520bc commit 1c417db
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 125 deletions.
108 changes: 3 additions & 105 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,11 @@
"igniteui-sassdoc-theme": "^1.1.4",
"jasmine": "~3.6.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.2",
"karma": "^6.3.7",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "^2.0.3",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "~1.5.4",
"karma-jasmine-spec-tags": "~1.3.0",
"karma-junit-reporter": "~2.0.1",
"karma-spec-reporter": "~0.0.32",
"lunr": "^2.3.8",
"ng-packagr": "^13.0.0",
"pngcrush": "^2.0.1",
Expand Down
14 changes: 1 addition & 13 deletions projects/igniteui-angular/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ module.exports = function (config) {
require('karma-coverage'),
require('karma-chrome-launcher'),
require('karma-jasmine-spec-tags'),
require('karma-jasmine-html-reporter'),
require('karma-spec-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
parallelOptions: {
Expand All @@ -41,20 +39,10 @@ module.exports = function (config) {
subdir: '.',
reporters: [
// reporters not supporting the `file` property
{ type: 'html' },
{ type: 'json' },
{ type: 'lcovonly' },
{ type: 'lcov' },
]
},
reporters: ['progress', 'coverage'],
specReporter: {
suppressSkipped: true,
suppressErrorSummary: false,
suppressFailed: false,
suppressPassed: false,
showSpecTiming: false,
failFast: false
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ describe('IgxTimePicker', () => {
expect(inputGroupFocusedSpy).toHaveBeenCalledTimes(2);
expect(inputGroupRequiredSet).toHaveBeenCalledTimes(1);
expect(inputGroupRequiredSet).toHaveBeenCalledWith(true);
console.log(inputGroupRequiredSet.calls);

inputGroupRequiredGet.and.returnValue(true);

mockNgControl.statusChanges.emit();
Expand Down
3 changes: 1 addition & 2 deletions projects/igniteui-angular/src/lib/tree/tree.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ describe('IgxTree #treeView', () => {
mockNodesArray.push(
mockNode
);
console.log(mockNodesArray);
console.log(mockNodesArray[0]);

spyOnProperty(mockNodes, 'first', 'get').and.returnValue(mockNode);
tree.ngAfterViewInit();
tick();
Expand Down

0 comments on commit 1c417db

Please sign in to comment.