@@ -7,6 +7,11 @@ import { setupTest } from 'ember-qunit';
7
7
deprecate ( 'Deprecation outside of a test' , false , {
8
8
id : 'deprecation-test' ,
9
9
until : '3.0.0' ,
10
+ for : 'ember-qunit-tests' ,
11
+ since : {
12
+ available : '6.1.0' ,
13
+ enabled : '6.1.0' ,
14
+ } ,
10
15
} ) ;
11
16
// ............................................................
12
17
@@ -28,6 +33,11 @@ module('expectDeprecation', function (hooks) {
28
33
deprecate ( 'Something deprecated' , false , {
29
34
id : 'deprecation-test' ,
30
35
until : '3.0.0' ,
36
+ for : 'ember-qunit-tests' ,
37
+ since : {
38
+ available : '6.1.0' ,
39
+ enabled : '6.1.0' ,
40
+ } ,
31
41
} ) ;
32
42
33
43
mockAssert . expectDeprecation ( ) ;
@@ -39,6 +49,11 @@ module('expectDeprecation', function (hooks) {
39
49
options : {
40
50
id : 'deprecation-test' ,
41
51
until : '3.0.0' ,
52
+ for : 'ember-qunit-tests' ,
53
+ since : {
54
+ available : '6.1.0' ,
55
+ enabled : '6.1.0' ,
56
+ } ,
42
57
} ,
43
58
} ,
44
59
] ,
@@ -66,6 +81,11 @@ module('expectDeprecation', function (hooks) {
66
81
deprecate ( 'Something deprecated' , false , {
67
82
id : 'deprecation-test' ,
68
83
until : '3.0.0' ,
84
+ for : 'ember-qunit-tests' ,
85
+ since : {
86
+ available : '6.1.0' ,
87
+ enabled : '6.1.0' ,
88
+ } ,
69
89
} ) ;
70
90
} ) ;
71
91
@@ -76,6 +96,11 @@ module('expectDeprecation', function (hooks) {
76
96
options : {
77
97
id : 'deprecation-test' ,
78
98
until : '3.0.0' ,
99
+ for : 'ember-qunit-tests' ,
100
+ since : {
101
+ available : '6.1.0' ,
102
+ enabled : '6.1.0' ,
103
+ } ,
79
104
} ,
80
105
} ,
81
106
] ,
@@ -103,6 +128,11 @@ module('expectDeprecation', function (hooks) {
103
128
deprecate ( 'Something deprecated' , false , {
104
129
id : 'deprecation-test' ,
105
130
until : '3.0.0' ,
131
+ for : 'ember-qunit-tests' ,
132
+ since : {
133
+ available : '6.1.0' ,
134
+ enabled : '6.1.0' ,
135
+ } ,
106
136
} ) ;
107
137
} ) ;
108
138
@@ -115,6 +145,11 @@ module('expectDeprecation', function (hooks) {
115
145
options : {
116
146
id : 'deprecation-test' ,
117
147
until : '3.0.0' ,
148
+ for : 'ember-qunit-tests' ,
149
+ since : {
150
+ available : '6.1.0' ,
151
+ enabled : '6.1.0' ,
152
+ } ,
118
153
} ,
119
154
} ,
120
155
] ,
@@ -132,6 +167,11 @@ module('expectDeprecation', function (hooks) {
132
167
options : {
133
168
id : 'deprecation-test' ,
134
169
until : '3.0.0' ,
170
+ for : 'ember-qunit-tests' ,
171
+ since : {
172
+ available : '6.1.0' ,
173
+ enabled : '6.1.0' ,
174
+ } ,
135
175
} ,
136
176
} ,
137
177
] ,
@@ -146,6 +186,11 @@ module('expectDeprecation', function (hooks) {
146
186
deprecate ( 'Something deprecated' , false , {
147
187
id : 'deprecation-test' ,
148
188
until : '3.0.0' ,
189
+ for : 'ember-qunit-tests' ,
190
+ since : {
191
+ available : '6.1.0' ,
192
+ enabled : '6.1.0' ,
193
+ } ,
149
194
} ) ;
150
195
151
196
mockAssert . expectDeprecation ( / S o m e t h i n g d e p r e c a t e d / ) ;
@@ -157,6 +202,11 @@ module('expectDeprecation', function (hooks) {
157
202
options : {
158
203
id : 'deprecation-test' ,
159
204
until : '3.0.0' ,
205
+ for : 'ember-qunit-tests' ,
206
+ since : {
207
+ available : '6.1.0' ,
208
+ enabled : '6.1.0' ,
209
+ } ,
160
210
} ,
161
211
} ,
162
212
] ,
@@ -171,6 +221,11 @@ module('expectDeprecation', function (hooks) {
171
221
deprecate ( 'Something deprecated' , false , {
172
222
id : 'deprecation-test' ,
173
223
until : '3.0.0' ,
224
+ for : 'ember-qunit-tests' ,
225
+ since : {
226
+ available : '6.1.0' ,
227
+ enabled : '6.1.0' ,
228
+ } ,
174
229
} ) ;
175
230
176
231
mockAssert . expectDeprecation ( / d i f f e r e n t d e p r e c a t i o n / ) ;
@@ -188,6 +243,11 @@ module('expectDeprecation', function (hooks) {
188
243
deprecate ( 'Something deprecated' , false , {
189
244
id : 'deprecation-test' ,
190
245
until : '3.0.0' ,
246
+ for : 'ember-qunit-tests' ,
247
+ since : {
248
+ available : '6.1.0' ,
249
+ enabled : '6.1.0' ,
250
+ } ,
191
251
} ) ;
192
252
} , / S o m e t h i n g d e p r e c a t e d / ) ;
193
253
@@ -198,6 +258,11 @@ module('expectDeprecation', function (hooks) {
198
258
options : {
199
259
id : 'deprecation-test' ,
200
260
until : '3.0.0' ,
261
+ for : 'ember-qunit-tests' ,
262
+ since : {
263
+ available : '6.1.0' ,
264
+ enabled : '6.1.0' ,
265
+ } ,
201
266
} ,
202
267
} ,
203
268
] ,
@@ -213,6 +278,11 @@ module('expectDeprecation', function (hooks) {
213
278
deprecate ( 'Something deprecated' , false , {
214
279
id : 'deprecation-test' ,
215
280
until : '3.0.0' ,
281
+ for : 'ember-qunit-tests' ,
282
+ since : {
283
+ available : '6.1.0' ,
284
+ enabled : '6.1.0' ,
285
+ } ,
216
286
} ) ;
217
287
} , / d i f f e r e n t d e p r e c a t i o n / ) ;
218
288
@@ -230,12 +300,22 @@ module('expectDeprecation', function (hooks) {
230
300
deprecate ( 'Something deprecated' , false , {
231
301
id : 'deprecation-test' ,
232
302
until : '3.0.0' ,
303
+ for : 'ember-qunit-tests' ,
304
+ since : {
305
+ available : '6.1.0' ,
306
+ enabled : '6.1.0' ,
307
+ } ,
233
308
} ) ;
234
309
} , / S o m e t h i [ a - z ] * e c a t e d / ) ;
235
310
mockAssert . expectDeprecation ( ( ) => {
236
311
deprecate ( '/Something* deprecated/' , false , {
237
312
id : 'deprecation-test' ,
238
313
until : '3.0.0' ,
314
+ for : 'ember-qunit-tests' ,
315
+ since : {
316
+ available : '6.1.0' ,
317
+ enabled : '6.1.0' ,
318
+ } ,
239
319
} ) ;
240
320
} , / S o m e t h i n g * d e p r e c a t e d / ) ;
241
321
@@ -254,13 +334,23 @@ module('expectDeprecation', function (hooks) {
254
334
deprecate ( 'Something deprecated' , false , {
255
335
id : 'deprecation-test' ,
256
336
until : '3.0.0' ,
337
+ for : 'ember-qunit-tests' ,
338
+ since : {
339
+ available : '6.1.0' ,
340
+ enabled : '6.1.0' ,
341
+ } ,
257
342
} ) ;
258
343
} , 'Something' ) ;
259
344
260
345
mockAssert . expectDeprecation ( ( ) => {
261
346
deprecate ( 'Something deprecated' , false , {
262
347
id : 'deprecation-test' ,
263
348
until : '3.0.0' ,
349
+ for : 'ember-qunit-tests' ,
350
+ since : {
351
+ available : '6.1.0' ,
352
+ enabled : '6.1.0' ,
353
+ } ,
264
354
} ) ;
265
355
} , 'Something.*' ) ;
266
356
@@ -306,6 +396,11 @@ module('expectNoDeprecation', function (hooks) {
306
396
deprecate ( 'Something deprecated' , false , {
307
397
id : 'deprecation-test' ,
308
398
until : '3.0.0' ,
399
+ for : 'ember-qunit-tests' ,
400
+ since : {
401
+ available : '6.1.0' ,
402
+ enabled : '6.1.0' ,
403
+ } ,
309
404
} ) ;
310
405
311
406
mockAssert . expectNoDeprecation ( ) ;
@@ -316,6 +411,11 @@ module('expectNoDeprecation', function (hooks) {
316
411
options : {
317
412
id : 'deprecation-test' ,
318
413
until : '3.0.0' ,
414
+ for : 'ember-qunit-tests' ,
415
+ since : {
416
+ available : '6.1.0' ,
417
+ enabled : '6.1.0' ,
418
+ } ,
319
419
} ,
320
420
} ,
321
421
] ,
@@ -331,6 +431,11 @@ module('expectNoDeprecation', function (hooks) {
331
431
deprecate ( 'Something deprecated' , false , {
332
432
id : 'deprecation-test' ,
333
433
until : '3.0.0' ,
434
+ for : 'ember-qunit-tests' ,
435
+ since : {
436
+ available : '6.1.0' ,
437
+ enabled : '6.1.0' ,
438
+ } ,
334
439
} ) ;
335
440
} ) ;
336
441
@@ -341,6 +446,11 @@ module('expectNoDeprecation', function (hooks) {
341
446
options : {
342
447
id : 'deprecation-test' ,
343
448
until : '3.0.0' ,
449
+ for : 'ember-qunit-tests' ,
450
+ since : {
451
+ available : '6.1.0' ,
452
+ enabled : '6.1.0' ,
453
+ } ,
344
454
} ,
345
455
} ,
346
456
] ,
@@ -368,6 +478,11 @@ module('expectNoDeprecation', function (hooks) {
368
478
deprecate ( 'Something deprecated' , false , {
369
479
id : 'deprecation-test' ,
370
480
until : '3.0.0' ,
481
+ for : 'ember-qunit-tests' ,
482
+ since : {
483
+ available : '6.1.0' ,
484
+ enabled : '6.1.0' ,
485
+ } ,
371
486
} ) ;
372
487
} ) ;
373
488
@@ -378,6 +493,11 @@ module('expectNoDeprecation', function (hooks) {
378
493
options : {
379
494
id : 'deprecation-test' ,
380
495
until : '3.0.0' ,
496
+ for : 'ember-qunit-tests' ,
497
+ since : {
498
+ available : '6.1.0' ,
499
+ enabled : '6.1.0' ,
500
+ } ,
381
501
} ,
382
502
} ,
383
503
] ,
@@ -397,6 +517,11 @@ module('expectNoDeprecation', function (hooks) {
397
517
options : {
398
518
id : 'deprecation-test' ,
399
519
until : '3.0.0' ,
520
+ for : 'ember-qunit-tests' ,
521
+ since : {
522
+ available : '6.1.0' ,
523
+ enabled : '6.1.0' ,
524
+ } ,
400
525
} ,
401
526
} ,
402
527
] ,
0 commit comments