chiubaka / generator-chiubaka-typescript-package

Yeoman generator for standard Chiubaka Technologies TypeScript packages for libraries and other such things.
1 stars 0 forks source link

Push to newly created GitHub repos #120

Closed chiubaka closed 2 years ago

chiubaka commented 2 years ago

Closes #107.

codecov[bot] commented 2 years ago

Codecov Report

Merging #120 (44dc8ba) into master (d689d28) will decrease coverage by 0.32%. The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master     #120      +/-   ##
==========================================
- Coverage   98.66%   98.34%   -0.33%     
==========================================
  Files          58       58              
  Lines         600      604       +4     
  Branches       52       53       +1     
==========================================
+ Hits          592      594       +2     
- Misses          8       10       +2     
Impacted Files Coverage Δ
src/github/GitHubGenerator.ts 96.96% <81.81%> (-3.04%) :arrow_down:

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 d689d28...44dc8ba. Read the comment docs.

chiubaka commented 2 years ago

Bypassing failing codecov/patch check because GitHubGenerator#_gitPush can't easily be tested without a live call to a real GitHub repository somewhere. I'd rather avoid doing that in a test here, at least for now.

Instead, we're mocking the _gitPush method out so it doesn't get coverage.