@@ -21,6 +21,7 @@ ruleTester.run('no-jasmine-globals', rule, {
21
21
invalid : [
22
22
{
23
23
code : 'spyOn(some, "object")' ,
24
+ output : null ,
24
25
errors : [
25
26
{
26
27
messageId : 'illegalGlobal' ,
@@ -32,6 +33,7 @@ ruleTester.run('no-jasmine-globals', rule, {
32
33
} ,
33
34
{
34
35
code : 'spyOnProperty(some, "object")' ,
36
+ output : null ,
35
37
errors : [
36
38
{
37
39
messageId : 'illegalGlobal' ,
@@ -43,10 +45,12 @@ ruleTester.run('no-jasmine-globals', rule, {
43
45
} ,
44
46
{
45
47
code : 'fail()' ,
48
+ output : null ,
46
49
errors : [ { messageId : 'illegalFail' , column : 1 , line : 1 } ] ,
47
50
} ,
48
51
{
49
52
code : 'pending()' ,
53
+ output : null ,
50
54
errors : [ { messageId : 'illegalPending' , column : 1 , line : 1 } ] ,
51
55
} ,
52
56
{
@@ -56,10 +60,12 @@ ruleTester.run('no-jasmine-globals', rule, {
56
60
} ,
57
61
{
58
62
code : 'jasmine.DEFAULT_TIMEOUT_INTERVAL = function() {}' ,
63
+ output : null ,
59
64
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
60
65
} ,
61
66
{
62
67
code : 'jasmine.addMatchers(matchers)' ,
68
+ output : null ,
63
69
errors : [
64
70
{
65
71
messageId : 'illegalMethod' ,
@@ -71,6 +77,7 @@ ruleTester.run('no-jasmine-globals', rule, {
71
77
} ,
72
78
{
73
79
code : 'jasmine.createSpy()' ,
80
+ output : null ,
74
81
errors : [
75
82
{
76
83
messageId : 'illegalMethod' ,
@@ -151,30 +158,37 @@ ruleTester.run('no-jasmine-globals', rule, {
151
158
} ,
152
159
{
153
160
code : 'jasmine.getEnv()' ,
161
+ output : null ,
154
162
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
155
163
} ,
156
164
{
157
165
code : 'jasmine.empty()' ,
166
+ output : null ,
158
167
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
159
168
} ,
160
169
{
161
170
code : 'jasmine.falsy()' ,
171
+ output : null ,
162
172
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
163
173
} ,
164
174
{
165
175
code : 'jasmine.truthy()' ,
176
+ output : null ,
166
177
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
167
178
} ,
168
179
{
169
180
code : 'jasmine.arrayWithExactContents()' ,
181
+ output : null ,
170
182
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
171
183
} ,
172
184
{
173
185
code : 'jasmine.clock()' ,
186
+ output : null ,
174
187
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
175
188
} ,
176
189
{
177
190
code : 'jasmine.MAX_PRETTY_PRINT_ARRAY_LENGTH = 42' ,
191
+ output : null ,
178
192
errors : [ { messageId : 'illegalJasmine' , column : 1 , line : 1 } ] ,
179
193
} ,
180
194
] ,
0 commit comments