Test fixes for UrlParser, HtmlElementCreator
All checks were successful
CI / ci-tests (push) Successful in 15s
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:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user