diff --git a/lib/sympto/mucus.js b/lib/sympto/mucus.js index 727f76a..0c44cc7 100644 --- a/lib/sympto/mucus.js +++ b/lib/sympto/mucus.js @@ -27,7 +27,7 @@ export default function (cycleDays, tempEvalEndIndex) { const cycleDayIndex = cycleDays.indexOf(day) // if temperature evaluation has been completed an we still haven't found - // a candidate, there is no cervix shift + // a candidate, there is no mucus shift if (cycleDayIndex > tempEvalEndIndex) return notDetected // no best quality day may occur until temperature evaluation has diff --git a/test/sympto/cervix-temp.spec.js b/test/sympto/cervix-temp.spec.js index b7c599b..2748124 100644 --- a/test/sympto/cervix-temp.spec.js +++ b/test/sympto/cervix-temp.spec.js @@ -232,7 +232,7 @@ describe('sympto', () => { }) expect(status.temperatureShift).to.be.undefined() - expect(status.mucusShift).to.be.undefined() + expect(status.cervixShift).to.be.undefined() expect(Object.keys(status.phases).length).to.eql(2) expect(status.phases.preOvulatory).to.eql({