diff --git a/test/js/bun/util/ms.test.ts b/test/js/bun/util/ms.test.ts index e35a08a894..9ddcec25fa 100644 --- a/test/js/bun/util/ms.test.ts +++ b/test/js/bun/util/ms.test.ts @@ -253,12 +253,12 @@ describe("Bun.ms - comprehensive coverage", () => { ["1 s", 1000], ["1 s", 1000], ["1 s", 1000], - [" 1s", 1000], - ["1s ", 1000], - [" 1s ", 1000], + [" 1s", NaN], + ["1s ", NaN], + [" 1s ", NaN], ["1 second", 1000], ["1 seconds", 1000], - [" 1 second ", 1000], + [" 1 second ", NaN], ] as const; for (const [input, expected] of cases) {