File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ describe("Swiss standards test", () => {
2727 [ "756.1234.5678.91" , false ] ,
2828 [ "test756.9217.0769.85" , false ] ,
2929 [ "7.56..9217...0769.85" , false ] ,
30- ] ) ( "check if the social insurance number is valid or not" , ( ahvNumber , expected ) => {
31- expect ( isValidSwissSocialInsuranceNumber ( ahvNumber ) ) . toBe ( expected ) ;
30+ ] ) ( "check if the social insurance number is valid or not" , ( swissSocialInsuranceNumber , expected ) => {
31+ expect ( isValidSwissSocialInsuranceNumber ( swissSocialInsuranceNumber ) ) . toBe ( expected ) ;
3232 } ) ;
3333
3434 test . each ( [
@@ -45,6 +45,5 @@ describe("Swiss standards test", () => {
4545
4646 expect ( result . ibanNumber ) . toBe ( expectedIbanNumber ) ;
4747 expect ( result . isValidSwissIbanNumber ) . toBe ( expectedIsValid ) ;
48- expect ( isValidSwissSocialInsuranceNumber ( ahvNumber ) ) . toBe ( expected ) ;
4948 } ) ;
5049} ) ;
You can’t perform that action at this time.
0 commit comments