@@ -87,6 +87,7 @@ module('handleDeprecationWorkflow', function (hooks) {
87
87
88
88
test ( 'deprecation silenced with string matcher' , function ( assert ) {
89
89
const config = {
90
+ throwOnUnhandled : true ,
90
91
workflow : [ { matchMessage : 'Interesting' , handler : 'silence' } ] ,
91
92
} ;
92
93
@@ -113,6 +114,7 @@ module('handleDeprecationWorkflow', function (hooks) {
113
114
} ;
114
115
115
116
const config = {
117
+ throwOnUnhandled : true ,
116
118
workflow : [ { matchMessage : message , handler : 'log' } ] ,
117
119
} ;
118
120
@@ -151,6 +153,7 @@ module('handleDeprecationWorkflow', function (hooks) {
151
153
152
154
test ( 'deprecation silenced with regex matcher' , function ( assert ) {
153
155
const config = {
156
+ throwOnUnhandled : true ,
154
157
workflow : [ { matchMessage : / I n t e r / , handler : 'silence' } ] ,
155
158
} ;
156
159
@@ -184,6 +187,7 @@ module('handleDeprecationWorkflow', function (hooks) {
184
187
} ;
185
188
186
189
const config = {
190
+ throwOnUnhandled : true ,
187
191
workflow : [ { matchMessage : / I n t e r / , handler : 'log' } ] ,
188
192
} ;
189
193
@@ -245,6 +249,7 @@ module('handleDeprecationWorkflow', function (hooks) {
245
249
246
250
test ( 'deprecation silenced with id matcher' , function ( assert ) {
247
251
const config = {
252
+ throwOnUnhandled : true ,
248
253
workflow : [ { matchId : 'ember.deprecation-workflow' , handler : 'silence' } ] ,
249
254
} ;
250
255
@@ -278,6 +283,7 @@ module('handleDeprecationWorkflow', function (hooks) {
278
283
} ;
279
284
280
285
const config = {
286
+ throwOnUnhandled : true ,
281
287
workflow : [ { matchId : 'ember.deprecation-workflow' , handler : 'log' } ] ,
282
288
} ;
283
289
0 commit comments