Fix copypasta
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ export default function (cycleDays, tempEvalEndIndex) {
|
|||||||
const cycleDayIndex = cycleDays.indexOf(day)
|
const cycleDayIndex = cycleDays.indexOf(day)
|
||||||
|
|
||||||
// if temperature evaluation has been completed an we still haven't found
|
// 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
|
if (cycleDayIndex > tempEvalEndIndex) return notDetected
|
||||||
|
|
||||||
// no best quality day may occur until temperature evaluation has
|
// no best quality day may occur until temperature evaluation has
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ describe('sympto', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
expect(status.temperatureShift).to.be.undefined()
|
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(Object.keys(status.phases).length).to.eql(2)
|
||||||
expect(status.phases.preOvulatory).to.eql({
|
expect(status.phases.preOvulatory).to.eql({
|
||||||
|
|||||||
Reference in New Issue
Block a user