File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import { baseJestConfig } from '../../jest.config.base';
22
33const config = baseJestConfig ;
44
5- config . coveragePathIgnorePatterns = [ '/__tests__/' , 'cli.ts' , 'index.ts '] ;
5+ // config.coveragePathIgnorePatterns = ['/__tests__/'];
66config . coverageThreshold = {
77 global : {
8- branches : 85 ,
9- functions : 100 ,
8+ branches : 84 ,
9+ functions : 91 ,
1010 lines : 90 ,
1111 statements : - 10 ,
1212 } ,
Original file line number Diff line number Diff line change 1+ import { Dependencies , createInfra } from 'infra' ;
2+ import { mock } from 'jest-mock-extended' ;
3+
4+ describe ( 'createInfra' , ( ) => {
5+ it ( 'should create infra' , ( ) => {
6+ const dependencies = mock < Dependencies > ( ) ;
7+
8+ const clientRepository = createInfra ( dependencies ) ;
9+ expect ( clientRepository ) . toBeDefined ( ) ;
10+ } ) ;
11+ } ) ;
You can’t perform that action at this time.
0 commit comments