apex-code-coverage-transformer 2.11.7 → 2.12.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.
@@ -59,7 +59,8 @@
59
59
  "cobertura",
60
60
  "clover",
61
61
  "lcovonly",
62
- "jacoco"
62
+ "jacoco",
63
+ "json"
63
64
  ],
64
65
  "type": "option"
65
66
  },
@@ -96,5 +97,5 @@
96
97
  ]
97
98
  }
98
99
  },
99
- "version": "2.11.7"
100
+ "version": "2.12.0"
100
101
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "apex-code-coverage-transformer",
3
3
  "description": "Transform Salesforce Apex code coverage JSONs created during deployments and test runs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.",
4
- "version": "2.11.7",
4
+ "version": "2.12.0",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4.3.0",
7
7
  "@salesforce/core": "^8.11.4",
@@ -16,13 +16,15 @@
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.39",
17
17
  "@salesforce/dev-scripts": "^10.2.11",
18
18
  "@types/async": "^3.2.24",
19
- "@types/mocha": "^10.0.10",
19
+ "@types/jest": "^29.5.14",
20
20
  "@types/node": "18",
21
21
  "eslint-plugin-sf-plugin": "^1.20.21",
22
22
  "husky": "^9.1.7",
23
- "mocha": "^11.5.0",
23
+ "jest": "^29.7.0",
24
24
  "oclif": "^4.17.46",
25
25
  "shx": "0.4.0",
26
+ "ts-jest": "^29.3.4",
27
+ "ts-jest-mock-import-meta": "^1.3.0",
26
28
  "ts-node": "^10.9.2",
27
29
  "typescript": "^5.8.3",
28
30
  "wireit": "^0.14.12"
@@ -99,7 +101,7 @@
99
101
  "prepack": "sf-prepack",
100
102
  "prepare": "husky install",
101
103
  "test": "wireit",
102
- "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
104
+ "test:nuts": "oclif manifest && jest --testMatch \"**/*.nut.ts\"",
103
105
  "test:only": "wireit",
104
106
  "version": "oclif readme"
105
107
  },
@@ -164,7 +166,7 @@
164
166
  ]
165
167
  },
166
168
  "test:only": {
167
- "command": "nyc mocha \"test/**/*.test.ts\"",
169
+ "command": "jest --coverage",
168
170
  "env": {
169
171
  "FORCE_COLOR": "2"
170
172
  },