Skip to content

Commit

Permalink
add Carb Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
lsandini committed Mar 22, 2024
1 parent 17d54a6 commit 814cf8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lsandini/cgmsim-lib",
"version": "0.5.2",
"version": "0.5.3",
"description": "cgmsim-lib",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ export const isMealBolusTreatment = (
treatment.eventType === 'Meal Bolus' ||
treatment.eventType === 'Bolus' ||
treatment.eventType === 'Bolus Wizard' ||
treatment.eventType === 'Correction Bolus';
treatment.eventType === 'Correction Bolus' ||
treatment.eventType === 'Carb Correction';

export const isAnnouncementTreatment = (
treatment: NSTreatment,
Expand Down

1 comment on commit 814cf8a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 94.69% 802/847
🟢 Branches 80% 220/275
🟢 Functions 92.94% 158/170
🟢 Lines 94.92% 785/827

Test suite run success

271 tests passing in 19 suites.

Report generated by 🧪jest coverage report action from 814cf8a

Please sign in to comment.