add: multi-language setup for /tests/coverage endpoint #906
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Request:
Response:
[ { "language": "typescript", "unit_tests": { "total": 536, "total_tests": 9, "covered": 3, "percent": 0.56, "total_lines": 9675, "covered_lines": 157, "line_percent": 1.62 }, "integration_tests": { "total": 2, "total_tests": 6, "covered": 0, "percent": 0.0, "total_lines": 2, "covered_lines": 0, "line_percent": 0.0 }, "e2e_tests": null, "mocks": null }, { "language": "rust", "unit_tests": { "total": 536, "total_tests": 9, "covered": 3, "percent": 0.56, "total_lines": 9675, "covered_lines": 157, "line_percent": 1.62 }, "integration_tests": { "total": 536, "total_tests": 6, "covered": 8, "percent": 1.49, "total_lines": 9675, "covered_lines": 210, "line_percent": 2.17 }, "e2e_tests": { "total": 2, "total_tests": 32, "covered": 0, "percent": 0.0, "total_lines": 2, "covered_lines": 0, "line_percent": 0.0 }, "mocks": null } ]Request:
Response:
[ { "language": "rust", "unit_tests": { "total": 536, "total_tests": 9, "covered": 3, "percent": 0.56, "total_lines": 9675, "covered_lines": 157, "line_percent": 1.62 }, "integration_tests": { "total": 536, "total_tests": 6, "covered": 8, "percent": 1.49, "total_lines": 9675, "covered_lines": 210, "line_percent": 2.17 }, "e2e_tests": { "total": 2, "total_tests": 32, "covered": 0, "percent": 0.0, "total_lines": 2, "covered_lines": 0, "line_percent": 0.0 }, "mocks": null } ]