kubebb / core

A declarative component lifecycle management platform
https://kubebb.github.io/website
Apache License 2.0
8 stars 9 forks source link

chore: add testcases for pkg/utils/path.go #369

Closed 0xff-dev closed 1 year ago

0xff-dev commented 1 year ago

What type of PR is this?

/kind test

What this PR does / why we need it

chore: add testcases for pkg/utils/path.go

Which issue(s) this PR fixes

For #194

Special notes for your reviewer

codecov[bot] commented 1 year ago

Codecov Report

Merging #369 (d03534e) into main (a1cbc9d) will increase coverage by 0.38%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #369      +/-   ##
==========================================
+ Coverage   25.72%   26.11%   +0.38%     
==========================================
  Files          41       41              
  Lines        4637     4641       +4     
==========================================
+ Hits         1193     1212      +19     
+ Misses       3342     3327      -15     
  Partials      102      102              
Files Coverage Δ
pkg/utils/path.go 85.00% <100.00%> (+43.33%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more