CircleCI-Public / circleci-config-sdk-ts

Generate CircleCI Configuration YAML from JavaScript or TypeScript. Use Dynamic Configuration and the Config SDK together for live generative config.
https://circleci-public.github.io/circleci-config-sdk-ts/
Apache License 2.0
82 stars 29 forks source link

tests: 100% test coverage #96

Closed Jaryt closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #96 (8f660a8) into main (1023e83) will increase coverage by 2.96%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main       #96      +/-   ##
===========================================
+ Coverage   97.03%   100.00%   +2.96%     
===========================================
  Files          92        92              
  Lines         912       903       -9     
  Branches       84        81       -3     
===========================================
+ Hits          885       903      +18     
+ Misses         20         0      -20     
+ Partials        7         0       -7     
Impacted Files Coverage Δ
src/lib/Components/Commands/exports/Native/Run.ts 100.00% <ø> (ø)
src/lib/Components/Job/index.ts 100.00% <ø> (ø)
...mponents/Parameters/exports/CustomParameterList.ts 100.00% <ø> (+9.52%) :arrow_up:
src/lib/Components/Commands/parsers/index.ts 100.00% <100.00%> (+7.84%) :arrow_up:
src/lib/Components/Executors/parsers/index.ts 100.00% <100.00%> (+11.29%) :arrow_up:
src/lib/Components/Logic/index.ts 100.00% <100.00%> (ø)
src/lib/Components/Parameters/parsers/index.ts 100.00% <100.00%> (+12.50%) :arrow_up:
src/lib/Components/Workflow/parsers/index.ts 100.00% <100.00%> (+4.34%) :arrow_up:
src/lib/Config/exports/Validator.ts 100.00% <100.00%> (+5.00%) :arrow_up:
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1023e83...8f660a8. Read the comment docs.

ghost commented 2 years ago
👇 Click on the image for a new way to code review - Make big changes easier — review code in small groups of related files - Know where to start — see the whole change at a glance - Take a code tour — explore the change with an interactive tour - Make comments and review — all fully sync’ed with github [Try it now!](https://app.codesee.io/r/reviews?pr=96&src=https%3A%2F%2Fgithub.com%2FCircleCI-Public%2Fcircleci-config-sdk-ts)

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend