@@ -37,7 +37,7 @@ describe('WebServiceClient', () => {
3737 } ) ;
3838
3939 it ( 'handles "full" responses' , async ( ) => {
40- expect . assertions ( 172 ) ;
40+ expect . assertions ( 174 ) ;
4141
4242 nockInstance
4343 . post ( fullPath ( 'factors' ) , factors . request . basic )
@@ -226,6 +226,7 @@ describe('WebServiceClient', () => {
226226
227227 expect ( got . shippingPhone ?. country ) . toEqual ( 'CA' ) ;
228228 expect ( got . shippingPhone ?. isVoip ) . toEqual ( true ) ;
229+ expect ( got . shippingPhone ?. matchesPostal ) . toEqual ( true ) ;
229230 expect ( got . shippingPhone ?. networkOperator ) . toEqual (
230231 'Telus Mobility-SVR/2'
231232 ) ;
@@ -239,6 +240,7 @@ describe('WebServiceClient', () => {
239240
240241 expect ( got . billingPhone ?. country ) . toEqual ( 'US' ) ;
241242 expect ( got . billingPhone ?. isVoip ) . toEqual ( false ) ;
243+ expect ( got . billingPhone ?. matchesPostal ) . toEqual ( true ) ;
242244 expect ( got . billingPhone ?. networkOperator ) . toEqual ( 'Verizon/1' ) ;
243245 expect ( got . billingPhone ?. numberType ) . toEqual ( 'fixed' ) ;
244246
@@ -291,7 +293,7 @@ describe('WebServiceClient', () => {
291293 } ) ;
292294
293295 it ( 'handles "full" responses' , async ( ) => {
294- expect . assertions ( 147 ) ;
296+ expect . assertions ( 149 ) ;
295297
296298 nockInstance
297299 . post ( fullPath ( 'insights' ) , insights . request . basic )
@@ -480,6 +482,7 @@ describe('WebServiceClient', () => {
480482
481483 expect ( got . shippingPhone ?. country ) . toEqual ( 'CA' ) ;
482484 expect ( got . shippingPhone ?. isVoip ) . toEqual ( true ) ;
485+ expect ( got . shippingPhone ?. matchesPostal ) . toEqual ( true ) ;
483486 expect ( got . shippingPhone ?. networkOperator ) . toEqual (
484487 'Telus Mobility-SVR/2'
485488 ) ;
@@ -493,6 +496,7 @@ describe('WebServiceClient', () => {
493496
494497 expect ( got . billingPhone ?. country ) . toEqual ( 'US' ) ;
495498 expect ( got . billingPhone ?. isVoip ) . toEqual ( false ) ;
499+ expect ( got . billingPhone ?. matchesPostal ) . toEqual ( true ) ;
496500 expect ( got . billingPhone ?. networkOperator ) . toEqual ( 'Verizon/1' ) ;
497501 expect ( got . billingPhone ?. numberType ) . toEqual ( 'fixed' ) ;
498502
0 commit comments