Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Nov 13, 2024
1 parent 7ae3364 commit 1030b73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/merging.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ describe('HTP', () => {
}),
},
});
deleteZeros(merged);

expect(merged).toStrictEqual({
// HTP applies to the whole packet, so channel 4 is 0, instead of 204
// referenceData is irrelevant for HTP, so channel 5 is 0, instead of 5
Expand All @@ -66,6 +68,8 @@ describe('HTP', () => {
}),
},
});
deleteZeros(merged);

expect(merged).toStrictEqual({
1: 201,
2: 202,
Expand Down

0 comments on commit 1030b73

Please sign in to comment.