@@ -48,81 +48,85 @@ describe('public convertAxeToSarif API', () => {
48
48
} ) ;
49
49
50
50
it . each `
51
- inputFile | outputFile
52
- ${ 'basic-axe-v3.2.2.reporter-v2.json' } | ${ 'basic-axe-v3.2.2.sarif' }
53
- ${ 'w3citylights-axe-v3.2.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.2.2.sarif' }
54
- ${ 'basic-axe-v3.3.2.reporter-v1.json' } | ${ 'basic-axe-v3.3.2.sarif' }
55
- ${ 'basic-axe-v3.3.2.reporter-v2.json' } | ${ 'basic-axe-v3.3.2.sarif' }
56
- ${ 'w3citylights-axe-v3.3.2.reporter-v1.json' } | ${ 'w3citylights-axe-v3.3.2.sarif' }
57
- ${ 'w3citylights-axe-v3.3.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.3.2.sarif' }
58
- ${ 'basic-axe-v3.4.1.reporter-v1.json' } | ${ 'basic-axe-v3.4.1.sarif' }
59
- ${ 'basic-axe-v3.4.1.reporter-v2.json' } | ${ 'basic-axe-v3.4.1.sarif' }
60
- ${ 'w3citylights-axe-v3.4.1.reporter-v1.json' } | ${ 'w3citylights-axe-v3.4.1.sarif' }
61
- ${ 'w3citylights-axe-v3.4.1.reporter-v2.json' } | ${ 'w3citylights-axe-v3.4.1.sarif' }
62
- ${ 'basic-axe-v3.4.2.reporter-v1.json' } | ${ 'basic-axe-v3.4.2.sarif' }
63
- ${ 'basic-axe-v3.4.2.reporter-v2.json' } | ${ 'basic-axe-v3.4.2.sarif' }
64
- ${ 'w3citylights-axe-v3.4.2.reporter-v1.json' } | ${ 'w3citylights-axe-v3.4.2.sarif' }
65
- ${ 'w3citylights-axe-v3.4.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.4.2.sarif' }
66
- ${ 'basic-axe-v3.5.1.reporter-v1.json' } | ${ 'basic-axe-v3.5.1.sarif' }
67
- ${ 'basic-axe-v3.5.1.reporter-v2.json' } | ${ 'basic-axe-v3.5.1.sarif' }
68
- ${ 'w3citylights-axe-v3.5.1.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.1.sarif' }
69
- ${ 'w3citylights-axe-v3.5.1.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.1.sarif' }
70
- ${ 'basic-axe-v3.5.2.reporter-v1.json' } | ${ 'basic-axe-v3.5.2.sarif' }
71
- ${ 'basic-axe-v3.5.2.reporter-v2.json' } | ${ 'basic-axe-v3.5.2.sarif' }
72
- ${ 'w3citylights-axe-v3.5.2.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.2.sarif' }
73
- ${ 'w3citylights-axe-v3.5.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.2.sarif' }
74
- ${ 'basic-axe-v3.5.3.reporter-v1.json' } | ${ 'basic-axe-v3.5.3.sarif' }
75
- ${ 'basic-axe-v3.5.3.reporter-v2.json' } | ${ 'basic-axe-v3.5.3.sarif' }
76
- ${ 'w3citylights-axe-v3.5.3.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.3.sarif' }
77
- ${ 'w3citylights-axe-v3.5.3.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.3.sarif' }
78
- ${ 'basic-axe-v3.5.4.reporter-v1.json' } | ${ 'basic-axe-v3.5.4.sarif' }
79
- ${ 'basic-axe-v3.5.4.reporter-v2.json' } | ${ 'basic-axe-v3.5.4.sarif' }
80
- ${ 'w3citylights-axe-v3.5.4.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.4.sarif' }
81
- ${ 'w3citylights-axe-v3.5.4.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.4.sarif' }
82
- ${ 'basic-axe-v3.5.5.reporter-v1.json' } | ${ 'basic-axe-v3.5.5.sarif' }
83
- ${ 'basic-axe-v3.5.5.reporter-v2.json' } | ${ 'basic-axe-v3.5.5.sarif' }
84
- ${ 'w3citylights-axe-v3.5.5.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.5.sarif' }
85
- ${ 'w3citylights-axe-v3.5.5.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.5.sarif' }
86
- ${ 'basic-axe-v4.0.1.reporter-v1.json' } | ${ 'basic-axe-v4.0.1.sarif' }
87
- ${ 'basic-axe-v4.0.1.reporter-v2.json' } | ${ 'basic-axe-v4.0.1.sarif' }
88
- ${ 'w3citylights-axe-v4.0.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.0.1.sarif' }
89
- ${ 'w3citylights-axe-v4.0.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.0.1.sarif' }
90
- ${ 'basic-axe-v4.0.2.reporter-v1.json' } | ${ 'basic-axe-v4.0.2.sarif' }
91
- ${ 'basic-axe-v4.0.2.reporter-v2.json' } | ${ 'basic-axe-v4.0.2.sarif' }
92
- ${ 'w3citylights-axe-v4.0.2.reporter-v1.json' } | ${ 'w3citylights-axe-v4.0.2.sarif' }
93
- ${ 'w3citylights-axe-v4.0.2.reporter-v2.json' } | ${ 'w3citylights-axe-v4.0.2.sarif' }
94
- ${ 'basic-axe-v4.1.1.reporter-v1.json' } | ${ 'basic-axe-v4.1.1.sarif' }
95
- ${ 'basic-axe-v4.1.1.reporter-v2.json' } | ${ 'basic-axe-v4.1.1.sarif' }
96
- ${ 'w3citylights-axe-v4.1.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.1.1.sarif' }
97
- ${ 'w3citylights-axe-v4.1.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.1.1.sarif' }
98
- ${ 'basic-axe-v4.2.0.reporter-v1.json' } | ${ 'basic-axe-v4.2.0.sarif' }
99
- ${ 'basic-axe-v4.2.0.reporter-v2.json' } | ${ 'basic-axe-v4.2.0.sarif' }
100
- ${ 'w3citylights-axe-v4.2.0.reporter-v1.json' } | ${ 'w3citylights-axe-v4.2.0.sarif' }
101
- ${ 'w3citylights-axe-v4.2.0.reporter-v2.json' } | ${ 'w3citylights-axe-v4.2.0.sarif' }
102
- ${ 'basic-axe-v4.3.2.reporter-v1.json' } | ${ 'basic-axe-v4.3.2.sarif' }
103
- ${ 'basic-axe-v4.3.2.reporter-v2.json' } | ${ 'basic-axe-v4.3.2.sarif' }
104
- ${ 'w3citylights-axe-v4.3.2.reporter-v1.json' } | ${ 'w3citylights-axe-v4.3.2.sarif' }
105
- ${ 'w3citylights-axe-v4.3.2.reporter-v2.json' } | ${ 'w3citylights-axe-v4.3.2.sarif' }
106
- ${ 'basic-axe-v4.4.1.reporter-v1.json' } | ${ 'basic-axe-v4.4.1.sarif' }
107
- ${ 'basic-axe-v4.4.1.reporter-v2.json' } | ${ 'basic-axe-v4.4.1.sarif' }
108
- ${ 'w3citylights-axe-v4.4.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.4.1.sarif' }
109
- ${ 'w3citylights-axe-v4.4.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.4.1.sarif' }
110
- ${ 'basic-axe-v4.6.3.reporter-v1.json' } | ${ 'basic-axe-v4.6.3.sarif' }
111
- ${ 'basic-axe-v4.6.3.reporter-v2.json' } | ${ 'basic-axe-v4.6.3.sarif' }
112
- ${ 'w3citylights-axe-v4.6.3.reporter-v1.json' } | ${ 'w3citylights-axe-v4.6.3.sarif' }
113
- ${ 'w3citylights-axe-v4.6.3.reporter-v2.json' } | ${ 'w3citylights-axe-v4.6.3.sarif' }
114
- ${ 'basic-axe-v4.7.2.reporter-v1.json' } | ${ 'basic-axe-v4.7.2.sarif' }
115
- ${ 'basic-axe-v4.7.2.reporter-v2.json' } | ${ 'basic-axe-v4.7.2.sarif' }
116
- ${ 'w3citylights-axe-v4.7.2.reporter-v1.json' } | ${ 'w3citylights-axe-v4.7.2.sarif' }
117
- ${ 'w3citylights-axe-v4.7.2.reporter-v2.json' } | ${ 'w3citylights-axe-v4.7.2.sarif' }
118
- ${ 'basic-axe-v4.8.4.reporter-v1.json' } | ${ 'basic-axe-v4.8.4.sarif' }
119
- ${ 'basic-axe-v4.8.4.reporter-v2.json' } | ${ 'basic-axe-v4.8.4.sarif' }
120
- ${ 'w3citylights-axe-v4.8.4.reporter-v1.json' } | ${ 'w3citylights-axe-v4.8.4.sarif' }
121
- ${ 'w3citylights-axe-v4.8.4.reporter-v2.json' } | ${ 'w3citylights-axe-v4.8.4.sarif' }
122
- ${ 'basic-axe-v4.9.1.reporter-v1.json' } | ${ 'basic-axe-v4.9.1.sarif' }
123
- ${ 'basic-axe-v4.9.1.reporter-v2.json' } | ${ 'basic-axe-v4.9.1.sarif' }
124
- ${ 'w3citylights-axe-v4.9.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.9.1.sarif' }
125
- ${ 'w3citylights-axe-v4.9.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.9.1.sarif' }
51
+ inputFile | outputFile
52
+ ${ 'basic-axe-v3.2.2.reporter-v2.json' } | ${ 'basic-axe-v3.2.2.sarif' }
53
+ ${ 'w3citylights-axe-v3.2.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.2.2.sarif' }
54
+ ${ 'basic-axe-v3.3.2.reporter-v1.json' } | ${ 'basic-axe-v3.3.2.sarif' }
55
+ ${ 'basic-axe-v3.3.2.reporter-v2.json' } | ${ 'basic-axe-v3.3.2.sarif' }
56
+ ${ 'w3citylights-axe-v3.3.2.reporter-v1.json' } | ${ 'w3citylights-axe-v3.3.2.sarif' }
57
+ ${ 'w3citylights-axe-v3.3.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.3.2.sarif' }
58
+ ${ 'basic-axe-v3.4.1.reporter-v1.json' } | ${ 'basic-axe-v3.4.1.sarif' }
59
+ ${ 'basic-axe-v3.4.1.reporter-v2.json' } | ${ 'basic-axe-v3.4.1.sarif' }
60
+ ${ 'w3citylights-axe-v3.4.1.reporter-v1.json' } | ${ 'w3citylights-axe-v3.4.1.sarif' }
61
+ ${ 'w3citylights-axe-v3.4.1.reporter-v2.json' } | ${ 'w3citylights-axe-v3.4.1.sarif' }
62
+ ${ 'basic-axe-v3.4.2.reporter-v1.json' } | ${ 'basic-axe-v3.4.2.sarif' }
63
+ ${ 'basic-axe-v3.4.2.reporter-v2.json' } | ${ 'basic-axe-v3.4.2.sarif' }
64
+ ${ 'w3citylights-axe-v3.4.2.reporter-v1.json' } | ${ 'w3citylights-axe-v3.4.2.sarif' }
65
+ ${ 'w3citylights-axe-v3.4.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.4.2.sarif' }
66
+ ${ 'basic-axe-v3.5.1.reporter-v1.json' } | ${ 'basic-axe-v3.5.1.sarif' }
67
+ ${ 'basic-axe-v3.5.1.reporter-v2.json' } | ${ 'basic-axe-v3.5.1.sarif' }
68
+ ${ 'w3citylights-axe-v3.5.1.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.1.sarif' }
69
+ ${ 'w3citylights-axe-v3.5.1.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.1.sarif' }
70
+ ${ 'basic-axe-v3.5.2.reporter-v1.json' } | ${ 'basic-axe-v3.5.2.sarif' }
71
+ ${ 'basic-axe-v3.5.2.reporter-v2.json' } | ${ 'basic-axe-v3.5.2.sarif' }
72
+ ${ 'w3citylights-axe-v3.5.2.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.2.sarif' }
73
+ ${ 'w3citylights-axe-v3.5.2.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.2.sarif' }
74
+ ${ 'basic-axe-v3.5.3.reporter-v1.json' } | ${ 'basic-axe-v3.5.3.sarif' }
75
+ ${ 'basic-axe-v3.5.3.reporter-v2.json' } | ${ 'basic-axe-v3.5.3.sarif' }
76
+ ${ 'w3citylights-axe-v3.5.3.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.3.sarif' }
77
+ ${ 'w3citylights-axe-v3.5.3.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.3.sarif' }
78
+ ${ 'basic-axe-v3.5.4.reporter-v1.json' } | ${ 'basic-axe-v3.5.4.sarif' }
79
+ ${ 'basic-axe-v3.5.4.reporter-v2.json' } | ${ 'basic-axe-v3.5.4.sarif' }
80
+ ${ 'w3citylights-axe-v3.5.4.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.4.sarif' }
81
+ ${ 'w3citylights-axe-v3.5.4.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.4.sarif' }
82
+ ${ 'basic-axe-v3.5.5.reporter-v1.json' } | ${ 'basic-axe-v3.5.5.sarif' }
83
+ ${ 'basic-axe-v3.5.5.reporter-v2.json' } | ${ 'basic-axe-v3.5.5.sarif' }
84
+ ${ 'w3citylights-axe-v3.5.5.reporter-v1.json' } | ${ 'w3citylights-axe-v3.5.5.sarif' }
85
+ ${ 'w3citylights-axe-v3.5.5.reporter-v2.json' } | ${ 'w3citylights-axe-v3.5.5.sarif' }
86
+ ${ 'basic-axe-v4.0.1.reporter-v1.json' } | ${ 'basic-axe-v4.0.1.sarif' }
87
+ ${ 'basic-axe-v4.0.1.reporter-v2.json' } | ${ 'basic-axe-v4.0.1.sarif' }
88
+ ${ 'w3citylights-axe-v4.0.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.0.1.sarif' }
89
+ ${ 'w3citylights-axe-v4.0.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.0.1.sarif' }
90
+ ${ 'basic-axe-v4.0.2.reporter-v1.json' } | ${ 'basic-axe-v4.0.2.sarif' }
91
+ ${ 'basic-axe-v4.0.2.reporter-v2.json' } | ${ 'basic-axe-v4.0.2.sarif' }
92
+ ${ 'w3citylights-axe-v4.0.2.reporter-v1.json' } | ${ 'w3citylights-axe-v4.0.2.sarif' }
93
+ ${ 'w3citylights-axe-v4.0.2.reporter-v2.json' } | ${ 'w3citylights-axe-v4.0.2.sarif' }
94
+ ${ 'basic-axe-v4.1.1.reporter-v1.json' } | ${ 'basic-axe-v4.1.1.sarif' }
95
+ ${ 'basic-axe-v4.1.1.reporter-v2.json' } | ${ 'basic-axe-v4.1.1.sarif' }
96
+ ${ 'w3citylights-axe-v4.1.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.1.1.sarif' }
97
+ ${ 'w3citylights-axe-v4.1.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.1.1.sarif' }
98
+ ${ 'basic-axe-v4.2.0.reporter-v1.json' } | ${ 'basic-axe-v4.2.0.sarif' }
99
+ ${ 'basic-axe-v4.2.0.reporter-v2.json' } | ${ 'basic-axe-v4.2.0.sarif' }
100
+ ${ 'w3citylights-axe-v4.2.0.reporter-v1.json' } | ${ 'w3citylights-axe-v4.2.0.sarif' }
101
+ ${ 'w3citylights-axe-v4.2.0.reporter-v2.json' } | ${ 'w3citylights-axe-v4.2.0.sarif' }
102
+ ${ 'basic-axe-v4.3.2.reporter-v1.json' } | ${ 'basic-axe-v4.3.2.sarif' }
103
+ ${ 'basic-axe-v4.3.2.reporter-v2.json' } | ${ 'basic-axe-v4.3.2.sarif' }
104
+ ${ 'w3citylights-axe-v4.3.2.reporter-v1.json' } | ${ 'w3citylights-axe-v4.3.2.sarif' }
105
+ ${ 'w3citylights-axe-v4.3.2.reporter-v2.json' } | ${ 'w3citylights-axe-v4.3.2.sarif' }
106
+ ${ 'basic-axe-v4.4.1.reporter-v1.json' } | ${ 'basic-axe-v4.4.1.sarif' }
107
+ ${ 'basic-axe-v4.4.1.reporter-v2.json' } | ${ 'basic-axe-v4.4.1.sarif' }
108
+ ${ 'w3citylights-axe-v4.4.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.4.1.sarif' }
109
+ ${ 'w3citylights-axe-v4.4.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.4.1.sarif' }
110
+ ${ 'basic-axe-v4.6.3.reporter-v1.json' } | ${ 'basic-axe-v4.6.3.sarif' }
111
+ ${ 'basic-axe-v4.6.3.reporter-v2.json' } | ${ 'basic-axe-v4.6.3.sarif' }
112
+ ${ 'w3citylights-axe-v4.6.3.reporter-v1.json' } | ${ 'w3citylights-axe-v4.6.3.sarif' }
113
+ ${ 'w3citylights-axe-v4.6.3.reporter-v2.json' } | ${ 'w3citylights-axe-v4.6.3.sarif' }
114
+ ${ 'basic-axe-v4.7.2.reporter-v1.json' } | ${ 'basic-axe-v4.7.2.sarif' }
115
+ ${ 'basic-axe-v4.7.2.reporter-v2.json' } | ${ 'basic-axe-v4.7.2.sarif' }
116
+ ${ 'w3citylights-axe-v4.7.2.reporter-v1.json' } | ${ 'w3citylights-axe-v4.7.2.sarif' }
117
+ ${ 'w3citylights-axe-v4.7.2.reporter-v2.json' } | ${ 'w3citylights-axe-v4.7.2.sarif' }
118
+ ${ 'basic-axe-v4.8.4.reporter-v1.json' } | ${ 'basic-axe-v4.8.4.sarif' }
119
+ ${ 'basic-axe-v4.8.4.reporter-v2.json' } | ${ 'basic-axe-v4.8.4.sarif' }
120
+ ${ 'w3citylights-axe-v4.8.4.reporter-v1.json' } | ${ 'w3citylights-axe-v4.8.4.sarif' }
121
+ ${ 'w3citylights-axe-v4.8.4.reporter-v2.json' } | ${ 'w3citylights-axe-v4.8.4.sarif' }
122
+ ${ 'basic-axe-v4.9.1.reporter-v1.json' } | ${ 'basic-axe-v4.9.1.sarif' }
123
+ ${ 'basic-axe-v4.9.1.reporter-v2.json' } | ${ 'basic-axe-v4.9.1.sarif' }
124
+ ${ 'w3citylights-axe-v4.9.1.reporter-v1.json' } | ${ 'w3citylights-axe-v4.9.1.sarif' }
125
+ ${ 'w3citylights-axe-v4.9.1.reporter-v2.json' } | ${ 'w3citylights-axe-v4.9.1.sarif' }
126
+ ${ 'basic-axe-v4.10.2.reporter-v1.json' } | ${ 'basic-axe-v4.10.2.sarif' }
127
+ ${ 'basic-axe-v4.10.2.reporter-v2.json' } | ${ 'basic-axe-v4.10.2.sarif' }
128
+ ${ 'w3citylights-axe-v4.10.2.reporter-v1.json' } | ${ 'w3citylights-axe-v4.10.2.sarif' }
129
+ ${ 'w3citylights-axe-v4.10.2.reporter-v2.json' } | ${ 'w3citylights-axe-v4.10.2.sarif' }
126
130
` (
127
131
'converts pinned v1/v2 input $inputFile to pinned output $outputFile' ,
128
132
( { inputFile, outputFile } ) => {
@@ -168,8 +172,8 @@ describe('public sarifReporter API', () => {
168
172
// Since the integration tests of the raw converter involve global page/axe state,
169
173
// it isn't very meaningful to test cases that involve old axe versions here.
170
174
it . each `
171
- inputFile | outputFile
172
- ${ 'basic-axe-v4.9.1 .reporter-raw.json' } | ${ 'basic-axe-v4.9.1 .sarif' }
175
+ inputFile | outputFile
176
+ ${ 'basic-axe-v4.10.2 .reporter-raw.json' } | ${ 'basic-axe-v4.10.2 .sarif' }
173
177
` (
174
178
'converts pinned raw input $inputFile to pinned output $outputFile' ,
175
179
async ( { inputFile, outputFile } ) => {
0 commit comments