Skip to content

Commit

Permalink
chore: fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu-narayanan committed Feb 23, 2024
1 parent cc2dbfa commit 17d1a41
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/helpers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,4 @@ describe('#convertSecondsToTimeUnit', () => {
convertSecondsToTimeUnit(0, { minute: 'm', hour: 'h', day: 'd' })
).toEqual({ time: 1, unit: 's' });
});
it("it should return { time: '', unit: '' } if seconds passed is null", () => {
expect(
convertSecondsToTimeUnit(null, { minute: 'm', hour: 'h', day: 'd' })
).toEqual({ time: 1, unit: 's' });
});
});

0 comments on commit 17d1a41

Please sign in to comment.