Skip to content

Commit c8805c5

Browse files
committed
Tests: Set reporter to get the tests details
1 parent 9e4c6c7 commit c8805c5

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = function (config) {
1717
noInfo: true,
1818
stats: 'errors-only'
1919
},
20-
reporters: ['progress', 'karma-typescript', 'kjhtml', 'spec', 'coverage'],
20+
reporters: ['kjhtml', 'spec', 'coverage'],
2121
// optionally, configure the reporter
2222
coverageReporter: {
2323
// specify a common output directory

src/index.spec.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
describe('testgroup', ()=> {
2-
it('case1', ()=> {
1+
describe('TypeScript WebPack Starter Tests', ()=> {
2+
it('A good way to start building an awesome lib is by doing Unit Tests 👌🏽', ()=> {
33
expect(true).toBe(true);
44
})
5-
it('case2', ()=> {
6-
expect(true).toBe(false);
7-
})
85
})

0 commit comments

Comments
 (0)