Split fixtures into temp & mucus and temp & cervix files
Add first blueprint for temp&cervix tests
This commit is contained in:
@@ -4,14 +4,6 @@ function convertToSymptoFormat(val) {
|
||||
if (val.temperature) sympto.temperature = { value: val.temperature }
|
||||
if (val.mucus) sympto.mucus = { value: val.mucus }
|
||||
if (val.bleeding) sympto.bleeding = { value: val.bleeding }
|
||||
if (val.cervix) {
|
||||
sympto.cervix = {}
|
||||
if (val.cervix === 'firm & closed') {
|
||||
sympto.cervix.firmAndClosed = true
|
||||
} else {
|
||||
sympto.cervix.firmAndClosed = false
|
||||
}
|
||||
}
|
||||
return sympto
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user