File tree Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ module.exports = {
7
7
coveragePathIgnorePatterns : [ ".test-d.ts" ] ,
8
8
coverageThreshold : {
9
9
global : {
10
- statements : 100 ,
11
- branches : 89 ,
12
- functions : 100 ,
13
- lines : 100 ,
10
+ statements : 90 ,
11
+ branches : 90 ,
12
+ functions : 90 ,
13
+ lines : 90 ,
14
14
} ,
15
15
} ,
16
16
} ;
Original file line number Diff line number Diff line change 2
2
3
3
exports [` plugin should match expected export 1` ] = `
4
4
Object {
5
- " ci" : Object {},
5
+ " ci" : Object {
6
+ " overrides" : Array [
7
+ Object {
8
+ " files" : Array [
9
+ " *" ,
10
+ ],
11
+ " processor" : " diff/ci" ,
12
+ },
13
+ ],
14
+ " plugins" : Array [
15
+ " diff" ,
16
+ ],
17
+ },
6
18
" diff" : Object {
7
19
" overrides" : Array [
8
20
Object {
@@ -34,6 +46,11 @@ Object {
34
46
35
47
exports [` plugin should match expected export 2` ] = `
36
48
Object {
49
+ " ci" : Object {
50
+ " postprocess" : [Function ],
51
+ " preprocess" : [Function ],
52
+ " supportsAutofix" : true ,
53
+ },
37
54
" diff" : Object {
38
55
" postprocess" : [Function ],
39
56
" preprocess" : [Function ],
Original file line number Diff line number Diff line change
1
+ process . env . CI = "true" ;
1
2
import * as child_process from "child_process" ;
2
3
3
4
jest . mock ( "child_process" ) ;
You can’t perform that action at this time.
0 commit comments