Skip to content

Commit

Permalink
fix(time-duration): test cases updated for time-duration.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-p-rajesh committed Dec 21, 2023
1 parent 39b77c0 commit f15d131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/common/src/time/time-duration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('Time duration', () => {
).toEqual(new TimeDuration(52, TimeUnit.Week));

expect(
new TimeDuration(44 * 60 * 60 * 1000, TimeUnit.Millisecond).getMostSignificantUnitOnly(TimeUnit.Hour, false),
new TimeDuration(44 * 60 * 60 * 1000, TimeUnit.Millisecond).getMostSignificantUnitOnly(TimeUnit.Year, false),
).toEqual(new TimeDuration(44, TimeUnit.Hour));
});

Expand Down

0 comments on commit f15d131

Please sign in to comment.