@@ -26,7 +26,7 @@ describe('Test "integer" type validator', () => {
26
26
// Arrange
27
27
const args = JSON . parse ( inputArgs ) ;
28
28
// Act
29
- const validator = new IntegerTypeValidator ( ) ;
29
+ const validator = new IntegerTypeValidator ( { } , '' ) ;
30
30
31
31
// Assert
32
32
expect ( ( ) => validator . validateSchema ( args ) ) . not . toThrow ( ) ;
@@ -45,7 +45,7 @@ describe('Test "integer" type validator', () => {
45
45
// Arrange
46
46
const args = JSON . parse ( inputArgs ) ;
47
47
// Act
48
- const validator = new IntegerTypeValidator ( ) ;
48
+ const validator = new IntegerTypeValidator ( { } , '' ) ;
49
49
50
50
// Assert
51
51
expect ( ( ) => validator . validateSchema ( args ) ) . toThrow ( ) ;
@@ -68,7 +68,7 @@ describe('Test "integer" type validator', () => {
68
68
// Arrange
69
69
const args = JSON . parse ( inputArgs ) ;
70
70
// Act
71
- const validator = new IntegerTypeValidator ( ) ;
71
+ const validator = new IntegerTypeValidator ( { } , '' ) ;
72
72
73
73
// Assert
74
74
expect ( ( ) => validator . validateData ( data , args ) ) . not . toThrow ( ) ;
@@ -89,7 +89,7 @@ describe('Test "integer" type validator', () => {
89
89
// Arrange
90
90
const args = JSON . parse ( inputArgs ) ;
91
91
// Act
92
- const validator = new IntegerTypeValidator ( ) ;
92
+ const validator = new IntegerTypeValidator ( { } , '' ) ;
93
93
94
94
// Assert
95
95
expect ( ( ) => validator . validateData ( data , args ) ) . toThrow ( ) ;
0 commit comments