Commit Graph

122 Commits

Author SHA1 Message Date
Sofiya Tepikin f6a90994b6 Distinction between License and AcceptLicense screens 2022-09-18 13:02:43 +00:00
Sofiya Tepikin 7dd1a297a2 Chore/testing library 2022-09-18 10:32:10 +00:00
Sofiya Tepikin a103949f7c Chore/jest 2022-08-12 09:31:33 +00:00
Sofiya Tepikin f78d2c480d Chore/retire dirty chai 2022-08-01 12:34:26 +00:00
Sofiya Tepikin 3015628821 Chore/remove is object 2022-07-31 18:23:17 +00:00
Sofiya Tepikin 49d3c279d5 Chore/retire assert 2022-07-27 18:06:12 +00:00
Sofiya Tepikin c270c7a55f Add tests to the getOrdinalSuffix function 2020-12-05 12:12:19 +01:00
Sofiya Tepikin c1959962d0 Splits the rest of the tests without modifying them 2020-03-14 14:46:35 +01:00
Sofiya Tepikin 5b2dc82218 Moves out the test for getCyclesBefore method of cycle module 2020-03-14 13:17:30 +00:00
Sofiya Tepikin 64a4c8c455 Moves out the test for getPReviousCycle method of cycle module 2020-03-14 11:40:04 +00:00
Sofiya Tepikin 9e34c1b8b4 Adds test and fixes getCycleByStartDate method of cycle module 2020-03-05 19:31:52 +01:00
Sofiya Tepikin 0e0e00948f Moves out the tests for getCycleDayNumber and organises them 2020-03-03 22:13:53 +01:00
Julia Friesel 963e0ffea0 Add remaining tests for maybeSetNewCycleStart 2020-02-04 12:11:23 +01:00
Julia Friesel 009c8fa0f2 Add test for deleted bleeding value 2020-02-04 11:51:35 +01:00
Julia Friesel f1ca709f25 Add test for missing mucus vaues 2019-05-13 12:49:37 +02:00
Julia Friesel efca6f0d47 dirty-chai 2019-02-02 18:39:50 +01:00
Julia Friesel b7b6f98bad Change values 2019-01-09 09:21:42 +01:00
Julia Friesel fb6dc9b061 Merge branch '268-sympto-respect-max-cycle-length' into 'master'
Resolve "sympto: respect max cycle length"

Closes #268

See merge request bloodyhealth/drip!142
2019-01-05 09:50:43 +00:00
Julia Friesel c47e453882 Make mac cycle length test more meaningful 2019-01-04 18:59:28 +01:00
Julia Friesel 8d7fa268de Fix cycle length in getCycle 2019-01-04 14:33:13 +01:00
Julia Friesel 7f93ba154d Add test for getPredictedMenses 2018-12-21 15:30:48 +01:00
Julia Friesel 1f2801a83b Make getCycleLenghts filter for max cycle length 2018-12-21 15:30:48 +01:00
Julia Friesel 9fd0105506 Respect macCycleLength in getCyclesBefore 2018-12-21 15:30:48 +01:00
Julia Friesel 9bd0eedfaf Add test for getCycleDayNumber 2018-12-21 15:30:48 +01:00
Julia Friesel 6b0d202272 Respect maxcyclelength in getCycleForStartDay 2018-12-21 15:30:48 +01:00
Julia Friesel 2c48d59f54 Rename module 2018-12-21 08:43:52 +01:00
Julia Friesel 3b09d93a47 Add comments and rename things for clarity 2018-11-01 15:06:18 +01:00
Julia Friesel de674590e2 Make getMensesDaysAfter work for non-bleeding day too 2018-10-25 15:06:22 +02:00
Julia Friesel 5e8bc0a3e8 Add test for getPreviousCycle 2018-10-25 09:30:44 +02:00
Julia Friesel 9188d84797 Use new isCycleStartFunctions throughout cycle module 2018-10-25 09:18:25 +02:00
Julia Friesel c2c0e0c6a2 Add getMensesDaysAfter 2018-10-23 17:38:26 +02:00
Julia Friesel 2b2e24bb5c Add isMensesStart 2018-10-23 16:24:17 +02:00
Julia Friesel de4d39557e Add test for getAllMensesStart speed 2018-10-20 09:46:55 +02:00
Julia Friesel 1aeaac8504 Don't do duplicate work in getLastMensesStart 2018-10-20 09:46:55 +02:00
Julia Friesel 61275e83a0 Ignore temp drop after 3 regular high temps 2018-10-01 18:58:02 +02:00
emelko a1eddb3cbe Adds test for mucus and temp tracking:
* late mucus shift and therefore no postovu phase
2018-10-01 11:42:22 +02:00
emelko 855b69a349 Adds test for:
* latest valid cervix shift
* late and therefore invalid cervix shift
2018-10-01 08:57:22 +02:00
Julia Friesel 562b1f2069 Fix copypasta 2018-09-28 19:48:18 +02:00
Julia Friesel fa3a6fb2e7 Ignore secondary symptom peak after end of temperature evaluation 2018-09-28 15:51:53 +02:00
emelko 19d4743d0e Leaves out position value for db fixtures and test data 2018-09-20 21:00:43 +02:00
emelko 0747a07aac Adding cervix-temp tests * when args are wrong * testing minus-8 rule 2018-09-19 10:43:56 +02:00
emelko 76056e1db0 Improving cervix:
* adding tempEvalEnd value to cervix tests
* more comments in code for cervix sympto
* better description in cervix temp tests
* take out cervix.value
2018-09-13 09:54:13 +02:00
emelko 3f5c86086d Renaming test cycles for cervix+temp to be more explicit abt what they do 2018-09-10 12:28:54 +02:00
emelko 2f42840faa Revert "Renaming test cycles to be more explicit abt what they do"
This reverts commit 969da1d163.
2018-09-10 12:09:37 +02:00
emelko 1b0d04dfc0 Fixing cervix unit tests 2018-09-08 14:47:31 +02:00
emelko ab2dd76bf4 Liberating a forgotten .only from tests 2018-09-08 13:27:38 +02:00
emelko 969da1d163 Renaming test cycles to be more explicit abt what they do 2018-09-08 13:22:17 +02:00
emelko 5cb4c01cec First 9 tests for cervix temp combination 2018-09-07 19:49:52 +02:00
emelko 0b856e298a Symptom values must have exclude: false for tests; consistency for defining functions 2018-09-07 19:49:03 +02:00
emelko d16feb6d58 Renaming cervixPeak in cervixPeakBeforeShift bc it mustn't be the highest cervix value 2018-09-05 16:03:27 +02:00