Closed hossenlopp closed 1 year ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π’ | Statements | 86.44% | 2218/2566 |
π‘ | Branches | 75.25% | 2037/2707 |
π’ | Functions | 89.32% | 410/459 |
π’ | Lines | 86.78% | 2140/2466 |
411 tests passing in 31 suites.
Report generated by π§ͺjest coverage report action from 833fbb6d747776f090de9befe14f682feca9116a
Summary
Adds the libraryName and statementName as extra data in the HTML output.
New behavior
Info is added to the
<pre>
tag for each define statement asdata-library-name
anddata-statement-name
attributes. Example:Code changes
HTMLBuilder.ts
- Adds statementName to the data collected and sent to the handlebars template.main.ts
- Adds thedata-
attributes to the<pre>
tag for the statement.Testing guidance
Run unit tests.
Run calculation that outputs HTML. Detailed results with debug output would work. Look in HTML output for the data attributes in the
<pre>
tags. Spot check that they are identifying the statement name correctly for the statement content.