(aws-cdk): (enable text output in jest coverage reporters) #26078
Labels
@aws-cdk/aws-config
Related to AWS Config
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
A very small change here, to turn on text output for jest testing. Being able to get something that looks like the output below would be very helpful. The coverage reports are avaialble as html in other folders, but this gives the information very concisely where it is needed.
I do not think this would break anything. I've had it turned on for my work on the L2 Construct for lattice and i get clean builds both for my package and the bigger library.
in tools/@aws-cdk/cdk-build-tools/config/jest.config.js line 16-20, add 'text' to the arrary
coverageReporters: [
"lcov",
"html",
"text-summary",
"text",
],
Use Case
Its painful to have to open the html files, particually when i dont' ahve a browser easily avaiable
Proposed Solution
Add 'text' to the coverageReporters
Other Information
No response
Acknowledgements
CDK version used
2.85.0
Environment details (OS name and version, etc.)
N/A
The text was updated successfully, but these errors were encountered: