@@ -48,7 +48,9 @@ describe("atLeast", () => {
4848
4949 it ( "calls invalid when value contains less than x chars" , ( ) => {
5050 const invalid = jest . fn ( ) ;
51- const formatter = jest . fn ( ) . mockReturnValue ( ( x , y ) => ( { x, y } ) ;
51+ const formatter = jest
52+ . fn ( )
53+ . mockReturnValue ( ( x : any , y : any ) => ( { x, y } ) ) ;
5254
5355 const params = { chars : 3 } ;
5456 const msg = {
@@ -83,7 +85,9 @@ describe("atLeast", () => {
8385
8486 it ( "calls invalid when numeric value contains less than x chars" , ( ) => {
8587 const invalid = jest . fn ( ) ;
86- const formatter = jest . fn ( ) . mockReturnValue ( ( x , y ) => ( { x, y } ) ;
88+ const formatter = jest
89+ . fn ( )
90+ . mockReturnValue ( ( x : any , y : any ) => ( { x, y } ) ) ;
8791
8892 const params = { chars : 3 } ;
8993 const msg = {
@@ -100,7 +104,9 @@ describe("atLeast", () => {
100104
101105 it ( "calls invalid when value is undefined" , ( ) => {
102106 const invalid = jest . fn ( ) ;
103- const formatter = jest . fn ( ) . mockReturnValue ( ( x , y ) => ( { x, y } ) ;
107+ const formatter = jest
108+ . fn ( )
109+ . mockReturnValue ( ( x : any , y : any ) => ( { x, y } ) ) ;
104110
105111 const params = { chars : 3 } ;
106112 const msg = {
0 commit comments