Skip to content

Commit 7b10790

Browse files
committed
[WEB-3766] add deviceEvent to report query
1 parent 5e63644 commit 7b10790

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lib/report.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Report {
5353
'pumpSettings',
5454
'upload',
5555
'dosingDecision',
56+
'deviceEvent',
5657
];
5758

5859
#dosingDecisionReasons = [

test/report.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,10 @@ describe('report', () => {
464464
moment(uploadData[3].time).subtract(30, 'days').toISOString(),
465465
);
466466
});
467+
468+
it('should include deviceEvent in the type list', () => {
469+
expect(opts.type).toContain('deviceEvent');
470+
});
467471
});
468472

469473
describe('when dates params used', () => {

0 commit comments

Comments
 (0)