@@ -65,63 +65,63 @@ ruleTester.run('no-disabled-tests', rule, {
65
65
invalid : [
66
66
{
67
67
code : 'describe.skip("foo", function () {})' ,
68
- errors : [ { messageId : 'skippedTestSuite ' , column : 1 , line : 1 } ] ,
68
+ errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
69
69
} ,
70
70
{
71
71
code : 'describe.skip.each([1, 2, 3])("%s", (a, b) => {});' ,
72
- errors : [ { messageId : 'skippedTestSuite ' , column : 1 , line : 1 } ] ,
72
+ errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
73
73
} ,
74
74
{
75
75
code : 'xdescribe.each([1, 2, 3])("%s", (a, b) => {});' ,
76
- errors : [ { messageId : 'skippedTestSuite ' , column : 1 , line : 1 } ] ,
76
+ errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
77
77
} ,
78
78
{
79
79
code : 'describe[`skip`]("foo", function () {})' ,
80
- errors : [ { messageId : 'skippedTestSuite ' , column : 1 , line : 1 } ] ,
80
+ errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
81
81
} ,
82
82
{
83
83
code : 'describe["skip"]("foo", function () {})' ,
84
- errors : [ { messageId : 'skippedTestSuite ' , column : 1 , line : 1 } ] ,
84
+ errors : [ { messageId : 'disabledSuite ' , column : 1 , line : 1 } ] ,
85
85
} ,
86
86
{
87
87
code : 'it.skip("foo", function () {})' ,
88
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
88
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
89
89
} ,
90
90
{
91
91
code : 'it.concurrent.skip("foo", function () {})' ,
92
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
92
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
93
93
} ,
94
94
{
95
95
code : 'it["skip"]("foo", function () {})' ,
96
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
96
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
97
97
} ,
98
98
{
99
99
code : 'test.skip("foo", function () {})' ,
100
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
100
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
101
101
} ,
102
102
{
103
103
code : 'it.skip.each``("foo", function () {})' ,
104
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
104
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
105
105
} ,
106
106
{
107
107
code : 'test.skip.each``("foo", function () {})' ,
108
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
108
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
109
109
} ,
110
110
{
111
111
code : 'it.skip.each([])("foo", function () {})' ,
112
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
112
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
113
113
} ,
114
114
{
115
115
code : 'test.skip.each([])("foo", function () {})' ,
116
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
116
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
117
117
} ,
118
118
{
119
119
code : 'test.concurrent.skip("foo", function () {})' ,
120
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
120
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
121
121
} ,
122
122
{
123
123
code : 'test["skip"]("foo", function () {})' ,
124
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
124
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
125
125
} ,
126
126
{
127
127
code : 'xdescribe("foo", function () {})' ,
@@ -137,19 +137,19 @@ ruleTester.run('no-disabled-tests', rule, {
137
137
} ,
138
138
{
139
139
code : 'xit.each``("foo", function () {})' ,
140
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
140
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
141
141
} ,
142
142
{
143
143
code : 'xtest.each``("foo", function () {})' ,
144
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
144
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
145
145
} ,
146
146
{
147
147
code : 'xit.each([])("foo", function () {})' ,
148
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
148
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
149
149
} ,
150
150
{
151
151
code : 'xtest.each([])("foo", function () {})' ,
152
- errors : [ { messageId : 'skippedTest ' , column : 1 , line : 1 } ] ,
152
+ errors : [ { messageId : 'disabledTest ' , column : 1 , line : 1 } ] ,
153
153
} ,
154
154
{
155
155
code : 'it("has title but no callback")' ,
0 commit comments