Skip to content

Commit

Permalink
fix(Time): fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
oumar-fall committed Oct 18, 2024
1 parent 3af477e commit 3ea9cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/morpho-ts/test/time.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("time", () => {
expect(Time.ms.from.s(s)).toBe(123456789444000n);
});

test("should convert period to s", () => {
test("should convert periods", () => {
expect(Time.ms.fromPeriod("s")).toBe(1000);
expect(Time.ms.fromPeriod({ unit: "s", duration: 123 })).toBe(123000);
expect(Time.min.fromPeriod({ unit: "s", duration: 123 })).toBe(2);
Expand Down

0 comments on commit 3ea9cf9

Please sign in to comment.