@@ -73,83 +73,83 @@ ruleTester.run('no-disabled-tests', rule, {
73
73
invalid : [
74
74
{
75
75
code : 'describe.skip("foo", function () {})' ,
76
- errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
76
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
77
77
} ,
78
78
{
79
79
code : 'describe.skip.each([1, 2, 3])("%s", (a, b) => {});' ,
80
- errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
80
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
81
81
} ,
82
82
{
83
83
code : 'xdescribe.each([1, 2, 3])("%s", (a, b) => {});' ,
84
- errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
84
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
85
85
} ,
86
86
{
87
87
code : 'describe[`skip`]("foo", function () {})' ,
88
- errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
88
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
89
89
} ,
90
90
{
91
91
code : 'describe["skip"]("foo", function () {})' ,
92
- errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
92
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
93
93
} ,
94
94
{
95
95
code : 'it.skip("foo", function () {})' ,
96
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
96
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
97
97
} ,
98
98
{
99
99
code : 'it["skip"]("foo", function () {})' ,
100
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
100
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
101
101
} ,
102
102
{
103
103
code : 'test.skip("foo", function () {})' ,
104
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
104
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
105
105
} ,
106
106
{
107
107
code : 'it.skip.each``("foo", function () {})' ,
108
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
108
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
109
109
} ,
110
110
{
111
111
code : 'test.skip.each``("foo", function () {})' ,
112
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
112
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
113
113
} ,
114
114
{
115
115
code : 'it.skip.each([])("foo", function () {})' ,
116
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
116
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
117
117
} ,
118
118
{
119
119
code : 'test.skip.each([])("foo", function () {})' ,
120
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
120
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
121
121
} ,
122
122
{
123
123
code : 'test["skip"]("foo", function () {})' ,
124
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
124
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
125
125
} ,
126
126
{
127
127
code : 'xdescribe("foo", function () {})' ,
128
- errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
128
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
129
129
} ,
130
130
{
131
131
code : 'xit("foo", function () {})' ,
132
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
132
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
133
133
} ,
134
134
{
135
135
code : 'xtest("foo", function () {})' ,
136
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
136
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
137
137
} ,
138
138
{
139
139
code : 'xit.each``("foo", function () {})' ,
140
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
140
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
141
141
} ,
142
142
{
143
143
code : 'xtest.each``("foo", function () {})' ,
144
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
144
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
145
145
} ,
146
146
{
147
147
code : 'xit.each([])("foo", function () {})' ,
148
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
148
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
149
149
} ,
150
150
{
151
151
code : 'xtest.each([])("foo", function () {})' ,
152
- errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
152
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
153
153
} ,
154
154
{
155
155
code : 'it("has title but no callback")' ,
@@ -161,15 +161,15 @@ ruleTester.run('no-disabled-tests', rule, {
161
161
} ,
162
162
{
163
163
code : 'it("contains a call to pending", function () { pending() })' ,
164
- errors : [ { messageId : 'pendingTest ' , column : 48 , line : 1 } ] ,
164
+ errors : [ { messageId : 'skippedTest ' , column : 48 , line : 1 } ] ,
165
165
} ,
166
166
{
167
167
code : 'pending();' ,
168
- errors : [ { messageId : 'pending ' , column : 1 , line : 1 } ] ,
168
+ errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
169
169
} ,
170
170
{
171
171
code : 'describe("contains a call to pending", function () { pending() })' ,
172
- errors : [ { messageId : 'pendingSuite ' , column : 54 , line : 1 } ] ,
172
+ errors : [ { messageId : 'skippedTest ' , column : 54 , line : 1 } ] ,
173
173
} ,
174
174
{
175
175
code : dedent `
0 commit comments