@decohere/ci-tools 0.0.1-dev.115 → 0.0.1-dev.117
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/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { existsSync, readdirSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
|
|
4
|
-
// The same rule as WorkspaceDefaults in @decohere/
|
|
4
|
+
// The same rule as WorkspaceDefaults in @decohere/workspace (`projects/**/package.json`, minus these
|
|
5
5
|
// folders, and a package.json inside another project is not a project). CI scripts run on plain
|
|
6
|
-
// Node before any install, so they can't import
|
|
6
|
+
// Node before any install, so they can't import the workspace package itself.
|
|
7
7
|
const SKIP = new Set(["node_modules", "__fixtures__", "dist"]);
|
|
8
8
|
|
|
9
9
|
/**
|
package/tests/lib/lcov.test.mjs
CHANGED
|
@@ -13,7 +13,7 @@ SF:projects/forge/src/build/index.ts
|
|
|
13
13
|
LF:20
|
|
14
14
|
LH:15
|
|
15
15
|
end_of_record
|
|
16
|
-
SF:projects/
|
|
16
|
+
SF:projects/core/src/index.ts
|
|
17
17
|
LF:5
|
|
18
18
|
LH:5
|
|
19
19
|
end_of_record
|
|
@@ -46,9 +46,9 @@ describe("parseLcovByProject", () => {
|
|
|
46
46
|
expect(result.get("forge")).toBeDefined();
|
|
47
47
|
expect(result.get("forge").totalLines).toBe(30);
|
|
48
48
|
expect(result.get("forge").coveredLines).toBe(24);
|
|
49
|
-
expect(result.get("
|
|
50
|
-
expect(result.get("
|
|
51
|
-
expect(result.get("
|
|
49
|
+
expect(result.get("core")).toBeDefined();
|
|
50
|
+
expect(result.get("core").totalLines).toBe(5);
|
|
51
|
+
expect(result.get("core").coveredLines).toBe(5);
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
it("ignores records with LF:0", () => {
|