Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickxbs committed Aug 21, 2024
1 parent ad166a9 commit f5d216f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/liver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ describe('Liver test', () => {
jest.useRealTimers();
});
it.each([[[30, 10]], [[20, 8]], [[40, 14]]])('test liver %p', ([isf, cr]) => {
const r = liver(isf, cr, { physical: 1, alcohol: 0 }, 250 / 3, 'UTC');
const r = liver(
isf,
cr,
{ physical: 1, alcohol: 0 },
250 / 3,
'Europe/Helsinki', //2001-01-01 UTC+2
);
expect(r).toMatchSnapshot();
});
});

1 comment on commit f5d216f

@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.68% 801/846
🟢 Branches 80.51% 223/277
🟢 Functions 92.98% 159/171
🟢 Lines 94.92% 784/826

Test suite run success

271 tests passing in 19 suites.

Report generated by 🧪jest coverage report action from f5d216f

Please sign in to comment.