Test fixes for UrlParser, HtmlElementCreator
All checks were successful
CI / ci-tests (push) Successful in 15s

Also fix old parseQueryString and alias it to getQueryStringParam
This commit is contained in:
2025-03-10 19:32:42 +09:00
parent 41e794b35d
commit c818e56f3e
9 changed files with 153 additions and 50 deletions

View File

@@ -24,6 +24,8 @@ describe("roundPrecision", () => {
it('should round numbers to a given precision', () => {
let val = roundPrecision(10.1234, 2);
expect(val).toBe(10.12);
// @ts-ignore
expect(roundPrecision("abc", 2)).toBe("abc");
});
});