@@ -29,7 +29,7 @@ describe('aep-143-standardized-codes-string-type', () => {
2929 expect ( results . length ) . toBe ( 1 ) ;
3030 expect ( results ) . toContainMatch ( {
3131 path : [ 'components' , 'schemas' , 'Book' , 'properties' , 'language_code' , 'type' ] ,
32- message : expect . stringContaining ( 'should be of type "string"' ) ,
32+ message : expect . stringContaining ( 'must be type "string"' ) ,
3333 } ) ;
3434 } ) ;
3535 } ) ;
@@ -54,7 +54,7 @@ describe('aep-143-standardized-codes-string-type', () => {
5454 expect ( results . length ) . toBe ( 1 ) ;
5555 expect ( results ) . toContainMatch ( {
5656 path : [ 'components' , 'schemas' , 'Address' , 'properties' , 'region_code' , 'type' ] ,
57- message : expect . stringContaining ( 'should be of type "string"' ) ,
57+ message : expect . stringContaining ( 'must be type "string"' ) ,
5858 } ) ;
5959 } ) ;
6060 } ) ;
@@ -79,7 +79,7 @@ describe('aep-143-standardized-codes-string-type', () => {
7979 expect ( results . length ) . toBe ( 1 ) ;
8080 expect ( results ) . toContainMatch ( {
8181 path : [ 'components' , 'schemas' , 'Price' , 'properties' , 'currency_code' , 'type' ] ,
82- message : expect . stringContaining ( 'should be of type "string"' ) ,
82+ message : expect . stringContaining ( 'must be type "string"' ) ,
8383 } ) ;
8484 } ) ;
8585 } ) ;
@@ -104,7 +104,7 @@ describe('aep-143-standardized-codes-string-type', () => {
104104 expect ( results . length ) . toBe ( 1 ) ;
105105 expect ( results ) . toContainMatch ( {
106106 path : [ 'components' , 'schemas' , 'File' , 'properties' , 'content_type' , 'type' ] ,
107- message : expect . stringContaining ( 'should be of type "string"' ) ,
107+ message : expect . stringContaining ( 'must be type "string"' ) ,
108108 } ) ;
109109 } ) ;
110110 } ) ;
@@ -129,7 +129,7 @@ describe('aep-143-standardized-codes-string-type', () => {
129129 expect ( results . length ) . toBe ( 1 ) ;
130130 expect ( results ) . toContainMatch ( {
131131 path : [ 'components' , 'schemas' , 'Event' , 'properties' , 'time_zone' , 'type' ] ,
132- message : expect . stringContaining ( 'should be of type "string"' ) ,
132+ message : expect . stringContaining ( 'must be type "string"' ) ,
133133 } ) ;
134134 } ) ;
135135 } ) ;
@@ -154,7 +154,7 @@ describe('aep-143-standardized-codes-string-type', () => {
154154 expect ( results . length ) . toBe ( 1 ) ;
155155 expect ( results ) . toContainMatch ( {
156156 path : [ 'components' , 'schemas' , 'TimeInfo' , 'properties' , 'utc_offset' , 'type' ] ,
157- message : expect . stringContaining ( 'should be of type "string"' ) ,
157+ message : expect . stringContaining ( 'must be type "string"' ) ,
158158 } ) ;
159159 } ) ;
160160 } ) ;
0 commit comments