VolkovLabs / business-text

The Business Text panel plugin allows you to construct a text visualization template from the values of a dataset returned by a data source query.
https://volkovlabs.io
Apache License 2.0
83 stars 13 forks source link

Increase Tests Coverage #194

Closed asimonok closed 1 year ago

asimonok commented 1 year ago

Resolves #187

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +17.10 :tada:

Comparison is base (77ecaea) 81.06% compared to head (179e45e) 98.17%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #194 +/- ## =========================================== + Coverage 81.06% 98.17% +17.10% =========================================== Files 27 23 -4 Lines 243 219 -24 Branches 32 29 -3 =========================================== + Hits 197 215 +18 + Misses 43 3 -40 + Partials 3 1 -2 ``` | [Impacted Files](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs) | Coverage Δ | | |---|---|---| | [src/components/TextPanel/TextPanel.tsx](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2NvbXBvbmVudHMvVGV4dFBhbmVsL1RleHRQYW5lbC50c3g=) | `100.00% <ø> (+13.33%)` | :arrow_up: | | [src/constants/default.ts](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2NvbnN0YW50cy9kZWZhdWx0LnRz) | `100.00% <ø> (ø)` | | | [src/constants/tests.ts](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2NvbnN0YW50cy90ZXN0cy50cw==) | `100.00% <ø> (ø)` | | | [src/components/CustomEditor/CustomEditor.tsx](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2NvbXBvbmVudHMvQ3VzdG9tRWRpdG9yL0N1c3RvbUVkaXRvci50c3g=) | `100.00% <100.00%> (ø)` | | | [src/components/CustomEditor/index.ts](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2NvbXBvbmVudHMvQ3VzdG9tRWRpdG9yL2luZGV4LnRz) | `100.00% <100.00%> (ø)` | | | [src/components/index.ts](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2NvbXBvbmVudHMvaW5kZXgudHM=) | `100.00% <100.00%> (ø)` | | | [src/constants/editor.ts](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2NvbnN0YW50cy9lZGl0b3IudHM=) | `100.00% <100.00%> (ø)` | | | [src/helpers/variable.ts](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs#diff-c3JjL2hlbHBlcnMvdmFyaWFibGUudHM=) | `100.00% <100.00%> (+88.00%)` | :arrow_up: | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/VolkovLabs/volkovlabs-dynamictext-panel/pull/194/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VolkovLabs)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.