@@ -7,9 +7,9 @@ exports[`prettier-formatter-gitlab cli should create a code quality report file
7
7
" check_name" : " prettier" ,
8
8
" description" : " Replace ·arg·· with arg" ,
9
9
" severity" : " minor" ,
10
- " fingerprint" : " 952f33d5a4e20ba44bdffbb78bd0ff2d " ,
10
+ " fingerprint" : " ea70e2ae0144c16efa5df45bf52a33de " ,
11
11
" location" : {
12
- " path" : " test/dirty-2.js" ,
12
+ " path" : " test/__stubs__/ dirty-2.js" ,
13
13
" lines" : {
14
14
" begin" : 3 ,
15
15
" end" : 3
@@ -21,9 +21,9 @@ exports[`prettier-formatter-gitlab cli should create a code quality report file
21
21
" check_name" : " prettier" ,
22
22
" description" : " Insert ;" ,
23
23
" severity" : " minor" ,
24
- " fingerprint" : " 9b44d13de7085110ed75a839caff11f8 " ,
24
+ " fingerprint" : " d88816112daed6a61fd9d81e964a484b " ,
25
25
" location" : {
26
- " path" : " test/dirty-2.js" ,
26
+ " path" : " test/__stubs__/ dirty-2.js" ,
27
27
" lines" : {
28
28
" begin" : 5 ,
29
29
" end" : 5
@@ -35,9 +35,9 @@ exports[`prettier-formatter-gitlab cli should create a code quality report file
35
35
" check_name" : " prettier" ,
36
36
" description" : " Replace ⏎⏎⏎⏎⏎⏎function·foo(·arg··)·{⏎⏎ with function·foo(arg)·{" ,
37
37
" severity" : " minor" ,
38
- " fingerprint" : " a6bd2d728de4fe92fd124e0377f606ff " ,
38
+ " fingerprint" : " c38522eb22f56c446d6b78774d940d24 " ,
39
39
" location" : {
40
- " path" : " test/dirty.js" ,
40
+ " path" : " test/__stubs__/ dirty.js" ,
41
41
" lines" : {
42
42
" begin" : 3 ,
43
43
" end" : 11
@@ -49,9 +49,70 @@ exports[`prettier-formatter-gitlab cli should create a code quality report file
49
49
" check_name" : " prettier" ,
50
50
" description" : " Delete ⏎⏎⏎" ,
51
51
" severity" : " minor" ,
52
- " fingerprint" : " 9c9ce209fdb82e60d0a2afb93a929fe9 " ,
52
+ " fingerprint" : " f312c866f5c2332c733d2de24b9efa0f " ,
53
53
" location" : {
54
- " path" : " test/dirty.js" ,
54
+ " path" : " test/__stubs__/dirty.js" ,
55
+ " lines" : {
56
+ " begin" : 12 ,
57
+ " end" : 15
58
+ }
59
+ }
60
+ }
61
+ ]"
62
+ ` ;
63
+
64
+ exports [` prettier-formatter-gitlab cli should create a code quality report file 2` ] = `
65
+ "[
66
+ {
67
+ " type" : " issue" ,
68
+ " check_name" : " prettier" ,
69
+ " description" : " Replace ·arg·· with arg" ,
70
+ " severity" : " minor" ,
71
+ " fingerprint" : " ea70e2ae0144c16efa5df45bf52a33de" ,
72
+ " location" : {
73
+ " path" : " test/__stubs__/dirty-2.js" ,
74
+ " lines" : {
75
+ " begin" : 3 ,
76
+ " end" : 3
77
+ }
78
+ }
79
+ } ,
80
+ {
81
+ " type" : " issue" ,
82
+ " check_name" : " prettier" ,
83
+ " description" : " Insert ;" ,
84
+ " severity" : " minor" ,
85
+ " fingerprint" : " d88816112daed6a61fd9d81e964a484b" ,
86
+ " location" : {
87
+ " path" : " test/__stubs__/dirty-2.js" ,
88
+ " lines" : {
89
+ " begin" : 5 ,
90
+ " end" : 5
91
+ }
92
+ }
93
+ } ,
94
+ {
95
+ " type" : " issue" ,
96
+ " check_name" : " prettier" ,
97
+ " description" : " Replace ⏎⏎⏎⏎⏎⏎function·foo(·arg··)·{⏎⏎ with function·foo(arg)·{" ,
98
+ " severity" : " minor" ,
99
+ " fingerprint" : " c38522eb22f56c446d6b78774d940d24" ,
100
+ " location" : {
101
+ " path" : " test/__stubs__/dirty.js" ,
102
+ " lines" : {
103
+ " begin" : 3 ,
104
+ " end" : 11
105
+ }
106
+ }
107
+ } ,
108
+ {
109
+ " type" : " issue" ,
110
+ " check_name" : " prettier" ,
111
+ " description" : " Delete ⏎⏎⏎" ,
112
+ " severity" : " minor" ,
113
+ " fingerprint" : " f312c866f5c2332c733d2de24b9efa0f" ,
114
+ " location" : {
115
+ " path" : " test/__stubs__/dirty.js" ,
55
116
" lines" : {
56
117
" begin" : 12 ,
57
118
" end" : 15
0 commit comments