@oliversalzburg/js-utils 0.0.45 → 0.0.46-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/format/count.test.js +4 -1
- package/format/count.test.js.map +1 -1
- package/package.json +1 -1
package/format/count.test.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { expect } from "chai";
|
|
2
2
|
import { it } from "mocha";
|
|
3
3
|
import { formatCount } from "./count.js";
|
|
4
|
-
it("formats counts as expected", ()
|
|
4
|
+
it("formats counts as expected", function () {
|
|
5
|
+
// Fails on NodeJS20 on Windows
|
|
6
|
+
// https://github.com/oliversalzburg/js-utils/actions/runs/9069549841/job/24919347525
|
|
7
|
+
this.timeout(5000);
|
|
5
8
|
expect(formatCount(-1)).to.equal("-1");
|
|
6
9
|
expect(formatCount(0)).to.equal("0");
|
|
7
10
|
expect(formatCount(1)).to.equal("1");
|
package/format/count.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"count.test.js","sourceRoot":"","sources":["../../source/format/count.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,EAAE,CAAC,4BAA4B,EAAE,
|
|
1
|
+
{"version":3,"file":"count.test.js","sourceRoot":"","sources":["../../source/format/count.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,EAAE,CAAC,4BAA4B,EAAE;IAC/B,+BAA+B;IAC/B,qFAAqF;IACrF,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnB,MAAM,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