Skip to content

Commit

Permalink
test: explicitly collect coverage from directives
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #1480
  • Loading branch information
benjamincharity committed May 31, 2019
1 parent 4c972fa commit 76cb6d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
clearMocks: true,
collectCoverageFrom: [
'terminus-ui/**/!(index|public-api|*.module|*.interface|*.constant|*.mock|*.d).ts',
'terminus-ui/**/*.directive.ts',
'!terminus-ui/**/testing/**',
],
moduleFileExtensions: [
Expand Down
2 changes: 1 addition & 1 deletion tooling/jest-setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'jest-preset-angular';
import './jest-global-mocks';
import 'jest-zone-patch';
import './jest-global-mocks';

0 comments on commit 76cb6d8

Please sign in to comment.