feat: add initial value for country #666
Annotations
2 errors
src/form/v2/birth/birth.test.ts > birth configuration is parsed:
src/form/v2/birth/birth.test.ts#L6
Error: Snapshot `birth configuration is parsed 1` mismatched
- Expected
+ Received
@@ -357,10 +357,11 @@
},
"type": "HIDE",
},
],
"id": "childResidentialAddress.address.country",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Country",
"description": "This is the label for the field",
"id": "event.action.declare.form.section.person.field.address.country.label",
},
@@ -2400,10 +2401,11 @@
},
"type": "HIDE",
},
],
"id": "childOther.address.country",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Country",
"description": "This is the label for the field",
"id": "event.action.declare.form.section.person.field.address.country.label",
},
@@ -5135,10 +5137,11 @@
},
"type": "HIDE",
},
],
"id": "informant.nationality",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Nationality",
"description": "This is the label for the field",
"id": "event.birth.action.declare.form.section.informant.field.nationality.label",
},
@@ -5717,10 +5720,11 @@
},
"type": "HIDE",
},
],
"id": "informant.address.country",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Country",
"description": "This is the label for the field",
"id": "event.action.declare.form.section.person.field.address.country.label",
},
@@ -8550,10 +8554,11 @@
},
"type": "HIDE",
},
],
"id": "mother.nationality",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Nationality",
"description": "This is the label for the field",
"id": "event.birth.action.declare.form.section.mother.field.nationality.label",
},
@@ -9321,10 +9326,11 @@
},
"type": "HIDE",
},
],
"id": "mother.address.country",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Country",
"description": "This is the label for the field",
"id": "event.action.declare.form.section.person.field.address.country.label",
},
@@ -13014,10 +13020,11 @@
},
"type": "HIDE",
},
],
"id": "father.nationality",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Nationality",
"description": "This is the label for the field",
"id": "event.birth.action.declare.form.section.father.field.nationality.label",
},
@@ -13937,10 +13944,11 @@
},
"type": "HIDE",
},
],
"id": "father.address.country",
+ "initialValue": "FAR",
"label": {
"defaultMessage": "Country",
"description": "This is the label for the field",
|
test
Process completed with exit code 1.
|