@teamscale/coverage-collector 0.0.1-beta.50 → 0.0.1-beta.52
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/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamscale/coverage-collector",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.52",
|
|
4
4
|
"description": "Collector for JavaScript code coverage information",
|
|
5
5
|
"main": "dist/src/main.js",
|
|
6
6
|
"bin": "dist/src/main.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"babel-jest": "^27.2.0",
|
|
55
55
|
"esbuild": "^0.13.4",
|
|
56
56
|
"jest": "^27.2.0",
|
|
57
|
-
"mockttp": "^3.
|
|
57
|
+
"mockttp": "^3.7.0",
|
|
58
58
|
"rimraf": "^3.0.2",
|
|
59
59
|
"ts-jest": "^27.0.5",
|
|
60
60
|
"ts-node": "^10.2.1",
|
|
@@ -18,7 +18,7 @@ exports.UploadError = UploadError;
|
|
|
18
18
|
*/
|
|
19
19
|
function prepareFormData(coverageFile) {
|
|
20
20
|
const form = new form_data_1.default();
|
|
21
|
-
form.append('report', fs_1.default.
|
|
21
|
+
form.append('report', fs_1.default.readFileSync(coverageFile), 'coverage.simple');
|
|
22
22
|
return form;
|
|
23
23
|
}
|
|
24
24
|
exports.prepareFormData = prepareFormData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamscale/coverage-collector",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.52",
|
|
4
4
|
"description": "Collector for JavaScript code coverage information",
|
|
5
5
|
"main": "dist/src/main.js",
|
|
6
6
|
"bin": "dist/src/main.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"babel-jest": "^27.2.0",
|
|
55
55
|
"esbuild": "^0.13.4",
|
|
56
56
|
"jest": "^27.2.0",
|
|
57
|
-
"mockttp": "^3.
|
|
57
|
+
"mockttp": "^3.7.0",
|
|
58
58
|
"rimraf": "^3.0.2",
|
|
59
59
|
"ts-jest": "^27.0.5",
|
|
60
60
|
"ts-node": "^10.2.1",
|