@@ -16,7 +16,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
1616 afterEach ( async ( ) => {
1717 try {
1818 await app . service ( serviceName ) . remove ( doug [ idProp ] ) ;
19- } catch ( error ) { }
19+ } catch ( error : any ) { }
2020 } ) ;
2121
2222 describe ( 'get' , ( ) => {
@@ -48,7 +48,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
4848 query : { name : 'Tester' }
4949 } ) ;
5050 throw new Error ( 'Should never get here' ) ;
51- } catch ( error ) {
51+ } catch ( error : any ) {
5252 assert . strictEqual ( error . name , 'NotFound' ,
5353 'Got a NotFound Feathers error'
5454 ) ;
@@ -59,7 +59,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
5959 try {
6060 await service . get ( '568225fbfe21222432e836ff' ) ;
6161 throw new Error ( 'Should never get here' ) ;
62- } catch ( error ) {
62+ } catch ( error : any ) {
6363 assert . strictEqual ( error . name , 'NotFound' ,
6464 'Error is a NotFound Feathers error'
6565 ) ;
@@ -77,7 +77,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
7777 query : { [ idProp ] : alice [ idProp ] }
7878 } ) ;
7979 throw new Error ( 'Should never get here' ) ;
80- } catch ( error ) {
80+ } catch ( error : any ) {
8181 assert . strictEqual ( error . name , 'NotFound' ,
8282 'Got a NotFound Feathers error'
8383 ) ;
@@ -118,7 +118,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
118118 query : { name : 'Tester' }
119119 } ) ;
120120 throw new Error ( 'Should never get here' ) ;
121- } catch ( error ) {
121+ } catch ( error : any ) {
122122 assert . strictEqual ( error . name , 'NotFound' ,
123123 'Got a NotFound Feathers error'
124124 ) ;
@@ -129,7 +129,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
129129 try {
130130 await service . remove ( null ) ;
131131 throw new Error ( 'Should never get here' ) ;
132- } catch ( error ) {
132+ } catch ( error : any ) {
133133 assert . strictEqual ( error . name , 'MethodNotAllowed' ,
134134 'Removing multiple without option set throws MethodNotAllowed'
135135 ) ;
@@ -167,7 +167,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
167167 query : { [ idProp ] : alice [ idProp ] }
168168 } ) ;
169169 throw new Error ( 'Should never get here' ) ;
170- } catch ( error ) {
170+ } catch ( error : any ) {
171171 assert . strictEqual ( error . name , 'NotFound' ,
172172 'Got a NotFound Feathers error'
173173 ) ;
@@ -217,7 +217,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
217217 query : { name : 'Tester' }
218218 } ) ;
219219 throw new Error ( 'Should never get here' ) ;
220- } catch ( error ) {
220+ } catch ( error : any ) {
221221 assert . strictEqual ( error . name , 'NotFound' ,
222222 'Got a NotFound Feathers error'
223223 ) ;
@@ -228,7 +228,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
228228 try {
229229 await service . update ( '568225fbfe21222432e836ff' , { name : 'NotFound' } ) ;
230230 throw new Error ( 'Should never get here' ) ;
231- } catch ( error ) {
231+ } catch ( error : any ) {
232232 assert . strictEqual ( error . name , 'NotFound' ,
233233 'Error is a NotFound Feathers error'
234234 ) ;
@@ -244,7 +244,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
244244 { query : { name : 'NotDave' } }
245245 ) ;
246246 throw new Error ( 'Should never get here' ) ;
247- } catch ( error ) {
247+ } catch ( error : any ) {
248248 assert . strictEqual ( error . name , 'NotFound' ,
249249 'Error is a NotFound Feathers error'
250250 ) ;
@@ -266,7 +266,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
266266 query : { [ idProp ] : alice [ idProp ] }
267267 } ) ;
268268 throw new Error ( 'Should never get here' ) ;
269- } catch ( error ) {
269+ } catch ( error : any ) {
270270 assert . strictEqual ( error . name , 'NotFound' ,
271271 'Got a NotFound Feathers error'
272272 ) ;
@@ -312,7 +312,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
312312 query : { name : 'Tester' }
313313 } ) ;
314314 throw new Error ( 'Should never get here' ) ;
315- } catch ( error ) {
315+ } catch ( error : any ) {
316316 assert . strictEqual ( error . name , 'NotFound' ,
317317 'Got a NotFound Feathers error'
318318 ) ;
@@ -323,7 +323,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
323323 try {
324324 await service . patch ( null , { } ) ;
325325 throw new Error ( 'Should never get here' ) ;
326- } catch ( error ) {
326+ } catch ( error : any ) {
327327 assert . strictEqual ( error . name , 'MethodNotAllowed' ,
328328 'Removing multiple without option set throws MethodNotAllowed'
329329 ) ;
@@ -417,7 +417,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
417417 try {
418418 await service . patch ( '568225fbfe21222432e836ff' , { name : 'PatchDoug' } ) ;
419419 throw new Error ( 'Should never get here' ) ;
420- } catch ( error ) {
420+ } catch ( error : any ) {
421421 assert . strictEqual ( error . name , 'NotFound' ,
422422 'Error is a NotFound Feathers error'
423423 ) ;
@@ -433,7 +433,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
433433 { query : { name : 'NotDave' } }
434434 ) ;
435435 throw new Error ( 'Should never get here' ) ;
436- } catch ( error ) {
436+ } catch ( error : any ) {
437437 assert . strictEqual ( error . name , 'NotFound' ,
438438 'Error is a NotFound Feathers error'
439439 ) ;
@@ -454,7 +454,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
454454 query : { [ idProp ] : alice [ idProp ] }
455455 } ) ;
456456 throw new Error ( 'Should never get here' ) ;
457- } catch ( error ) {
457+ } catch ( error : any ) {
458458 assert . strictEqual ( error . name , 'NotFound' ,
459459 'Got a NotFound Feathers error'
460460 ) ;
@@ -503,7 +503,7 @@ export default (test: any, app: any, _errors: any, serviceName: string, idProp:
503503 try {
504504 await service . create ( [ ] , { } ) ;
505505 throw new Error ( 'Should never get here' ) ;
506- } catch ( error ) {
506+ } catch ( error : any ) {
507507 assert . strictEqual ( error . name , 'MethodNotAllowed' ,
508508 'Removing multiple without option set throws MethodNotAllowed'
509509 ) ;
0 commit comments