@hedia/recommendation-screen 2.1.7 → 2.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/coverage/clover.xml +38 -38
  2. package/coverage/coverage-final.json +4 -4
  3. package/coverage/lcov-report/index.html +1 -1
  4. package/coverage/lcov-report/src/RecommendationScreen.tsx.html +1 -1
  5. package/coverage/lcov-report/src/__tests__/index.html +1 -1
  6. package/coverage/lcov-report/src/__tests__/utils.tsx.html +3 -3
  7. package/coverage/lcov-report/src/components/Header.tsx.html +1 -1
  8. package/coverage/lcov-report/src/components/InfoBars.tsx.html +1 -1
  9. package/coverage/lcov-report/src/components/InvisibleNumberInput.tsx.html +11 -11
  10. package/coverage/lcov-report/src/components/LimitationMessage.tsx.html +1 -1
  11. package/coverage/lcov-report/src/components/LineSeparator.tsx.html +1 -1
  12. package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +1 -1
  13. package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +1 -1
  15. package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +21 -21
  16. package/coverage/lcov-report/src/components/Remeasure.tsx.html +1 -1
  17. package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +1 -1
  18. package/coverage/lcov-report/src/components/TwoOptionModal.tsx.html +1 -1
  19. package/coverage/lcov-report/src/components/activity/Activity.tsx.html +1 -1
  20. package/coverage/lcov-report/src/components/activity/ActivityIcon.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/activity/ActivityIntensity.tsx.html +1 -1
  22. package/coverage/lcov-report/src/components/activity/index.html +1 -1
  23. package/coverage/lcov-report/src/components/index.html +1 -1
  24. package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +1 -1
  26. package/coverage/lcov-report/src/components/mood/index.html +1 -1
  27. package/coverage/lcov-report/src/index.html +1 -1
  28. package/coverage/lcov-report/src/locale/i18nUtils.ts.html +1 -1
  29. package/coverage/lcov-report/src/locale/index.html +1 -1
  30. package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +1 -1
  31. package/coverage/lcov-report/src/utils/Constants.ts.html +1 -1
  32. package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +1 -1
  33. package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +1 -1
  34. package/coverage/lcov-report/src/utils/Translations.ts.html +1 -1
  35. package/coverage/lcov-report/src/utils/Utils.ts.html +4 -4
  36. package/coverage/lcov-report/src/utils/Validations.ts.html +1 -1
  37. package/coverage/lcov-report/src/utils/index.html +1 -1
  38. package/coverage/lcov.info +62 -62
  39. package/package.json +4 -3
  40. package/src/__tests__/components/RecommendedInsulin.test.js +8 -7
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1618560208948" clover="3.2.0">
3
- <project timestamp="1618560208948" name="All files">
2
+ <coverage generated="1620820730813" clover="3.2.0">
3
+ <project timestamp="1620820730813" name="All files">
4
4
  <metrics statements="603" coveredstatements="603" conditionals="366" coveredconditionals="366" methods="199" coveredmethods="199" elements="1168" coveredelements="1168" complexity="0" loc="603" ncloc="603" packages="7" files="27" classes="27"/>
5
5
  <package name="src">
6
6
  <metrics statements="104" coveredstatements="104" conditionals="47" coveredconditionals="47" methods="35" coveredmethods="35"/>
@@ -127,8 +127,8 @@
127
127
  <line num="66" count="22" type="stmt"/>
128
128
  <line num="75" count="24" type="stmt"/>
129
129
  <line num="84" count="98" type="stmt"/>
130
- <line num="109" count="301" type="stmt"/>
131
- <line num="115" count="301" type="stmt"/>
130
+ <line num="109" count="303" type="stmt"/>
131
+ <line num="115" count="303" type="stmt"/>
132
132
  <line num="119" count="26" type="stmt"/>
133
133
  <line num="120" count="26" type="stmt"/>
134
134
  <line num="121" count="26" type="stmt"/>
@@ -163,12 +163,12 @@
163
163
  </file>
164
164
  <file name="InvisibleNumberInput.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/InvisibleNumberInput.tsx">
165
165
  <metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="8" coveredmethods="8"/>
166
- <line num="23" count="133" type="stmt"/>
167
- <line num="28" count="133" type="stmt"/>
168
- <line num="31" count="133" type="stmt"/>
166
+ <line num="23" count="134" type="stmt"/>
167
+ <line num="28" count="134" type="stmt"/>
168
+ <line num="31" count="134" type="stmt"/>
169
169
  <line num="32" count="45" type="stmt"/>
170
170
  <line num="35" count="45" type="stmt"/>
171
- <line num="39" count="133" type="stmt"/>
171
+ <line num="39" count="134" type="stmt"/>
172
172
  <line num="40" count="45" type="stmt"/>
173
173
  <line num="41" count="45" type="stmt"/>
174
174
  <line num="42" count="40" type="stmt"/>
@@ -177,20 +177,20 @@
177
177
  <line num="46" count="45" type="cond" truecount="2" falsecount="0"/>
178
178
  <line num="47" count="40" type="stmt"/>
179
179
  <line num="49" count="5" type="stmt"/>
180
- <line num="52" count="133" type="stmt"/>
180
+ <line num="52" count="134" type="stmt"/>
181
181
  <line num="53" count="41" type="cond" truecount="2" falsecount="0"/>
182
182
  <line num="54" count="41" type="stmt"/>
183
183
  <line num="55" count="41" type="cond" truecount="2" falsecount="0"/>
184
184
  <line num="56" count="36" type="stmt"/>
185
185
  <line num="58" count="41" type="stmt"/>
186
186
  <line num="61" count="41" type="stmt"/>
187
- <line num="64" count="133" type="stmt"/>
187
+ <line num="64" count="134" type="stmt"/>
188
188
  <line num="65" count="14" type="stmt"/>
189
189
  <line num="66" count="14" type="stmt"/>
190
- <line num="70" count="438" type="stmt"/>
191
- <line num="71" count="438" type="stmt"/>
192
- <line num="77" count="876" type="cond" truecount="2" falsecount="0"/>
193
- <line num="78" count="438" type="stmt"/>
190
+ <line num="70" count="441" type="stmt"/>
191
+ <line num="71" count="441" type="stmt"/>
192
+ <line num="77" count="882" type="cond" truecount="2" falsecount="0"/>
193
+ <line num="78" count="441" type="stmt"/>
194
194
  <line num="92" count="4" type="stmt"/>
195
195
  </file>
196
196
  <file name="LimitationMessage.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/LimitationMessage.tsx">
@@ -272,31 +272,31 @@
272
272
  <file name="RecommendedInsulin.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecommendedInsulin.tsx">
273
273
  <metrics statements="27" coveredstatements="27" conditionals="18" coveredconditionals="18" methods="7" coveredmethods="7"/>
274
274
  <line num="29" count="2" type="stmt"/>
275
- <line num="35" count="72" type="stmt"/>
276
- <line num="37" count="72" type="stmt"/>
277
- <line num="43" count="69" type="stmt"/>
278
- <line num="44" count="69" type="cond" truecount="2" falsecount="0"/>
275
+ <line num="35" count="73" type="stmt"/>
276
+ <line num="37" count="73" type="stmt"/>
277
+ <line num="43" count="70" type="stmt"/>
278
+ <line num="44" count="70" type="cond" truecount="2" falsecount="0"/>
279
279
  <line num="45" count="2" type="stmt"/>
280
- <line num="49" count="72" type="stmt"/>
280
+ <line num="49" count="73" type="stmt"/>
281
281
  <line num="50" count="1" type="stmt"/>
282
- <line num="53" count="72" type="stmt"/>
283
- <line num="55" count="17" type="cond" truecount="5" falsecount="0"/>
284
- <line num="56" count="17" type="stmt"/>
285
- <line num="59" count="17" type="stmt"/>
286
- <line num="62" count="72" type="stmt"/>
287
- <line num="63" count="28" type="stmt"/>
288
- <line num="66" count="27" type="cond" truecount="2" falsecount="0"/>
289
- <line num="68" count="27" type="cond" truecount="2" falsecount="0"/>
282
+ <line num="53" count="73" type="stmt"/>
283
+ <line num="55" count="18" type="cond" truecount="5" falsecount="0"/>
284
+ <line num="56" count="18" type="stmt"/>
285
+ <line num="59" count="18" type="stmt"/>
286
+ <line num="62" count="73" type="stmt"/>
287
+ <line num="63" count="29" type="stmt"/>
288
+ <line num="66" count="28" type="cond" truecount="2" falsecount="0"/>
289
+ <line num="68" count="28" type="cond" truecount="2" falsecount="0"/>
290
290
  <line num="69" count="12" type="cond" truecount="2" falsecount="0"/>
291
291
  <line num="70" count="12" type="stmt"/>
292
292
  <line num="71" count="12" type="stmt"/>
293
- <line num="77" count="15" type="stmt"/>
294
- <line num="78" count="15" type="stmt"/>
295
- <line num="81" count="72" type="stmt"/>
296
- <line num="82" count="141" type="cond" truecount="2" falsecount="0"/>
297
- <line num="83" count="141" type="cond" truecount="3" falsecount="0"/>
298
- <line num="84" count="141" type="stmt"/>
299
- <line num="123" count="72" type="stmt"/>
293
+ <line num="77" count="16" type="stmt"/>
294
+ <line num="78" count="16" type="stmt"/>
295
+ <line num="81" count="73" type="stmt"/>
296
+ <line num="82" count="143" type="cond" truecount="2" falsecount="0"/>
297
+ <line num="83" count="143" type="cond" truecount="3" falsecount="0"/>
298
+ <line num="84" count="143" type="stmt"/>
299
+ <line num="123" count="73" type="stmt"/>
300
300
  <line num="131" count="2" type="stmt"/>
301
301
  </file>
302
302
  <file name="Remeasure.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/Remeasure.tsx">
@@ -586,13 +586,13 @@
586
586
  <metrics statements="22" coveredstatements="22" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
587
587
  <line num="4" count="9" type="stmt"/>
588
588
  <line num="5" count="9" type="stmt"/>
589
- <line num="9" count="102" type="cond" truecount="4" falsecount="0"/>
589
+ <line num="9" count="103" type="cond" truecount="4" falsecount="0"/>
590
590
  <line num="11" count="8" type="stmt"/>
591
591
  <line num="14" count="65" type="stmt"/>
592
- <line num="17" count="28" type="stmt"/>
592
+ <line num="17" count="29" type="stmt"/>
593
593
  <line num="20" count="1" type="stmt"/>
594
- <line num="25" count="99" type="stmt"/>
595
- <line num="26" count="98" type="stmt"/>
594
+ <line num="25" count="100" type="stmt"/>
595
+ <line num="26" count="99" type="stmt"/>
596
596
  <line num="30" count="813" type="cond" truecount="2" falsecount="0"/>
597
597
  <line num="31" count="18" type="stmt"/>
598
598
  <line num="34" count="795" type="cond" truecount="2" falsecount="0"/>