From 2682bda9ddcfcdb139c6c4cd1fbb7c0dff622f33 Mon Sep 17 00:00:00 2001 From: Shiiyu <40838999+Shiiyu@users.noreply.github.com> Date: Fri, 23 Sep 2022 18:13:33 -0400 Subject: [PATCH] fix: :white_check_mark: fix StringHelperFunctions test --- test/jest/StringHelperFunctions.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jest/StringHelperFunctions.test.ts b/test/jest/StringHelperFunctions.test.ts index e31e5664e..b18661fbc 100644 --- a/test/jest/StringHelperFunctions.test.ts +++ b/test/jest/StringHelperFunctions.test.ts @@ -2,7 +2,7 @@ import { convertTimeMsToTimeElapsedString } from "../../src/utils/StringHelperFu describe("StringHelperFunctions Tests", function () { it("transforms strings", () => { - expect(convertTimeMsToTimeElapsedString(1000)).toEqual("1 seconds"); + expect(convertTimeMsToTimeElapsedString(1000)).toEqual("1 second"); expect(convertTimeMsToTimeElapsedString(5 * 60 * 1000 + 34 * 1000)).toEqual("5 minutes 34 seconds"); expect(convertTimeMsToTimeElapsedString(2 * 60 * 60 * 24 * 1000 + 5 * 60 * 1000 + 34 * 1000)).toEqual( "2 days 5 minutes 34 seconds",