tagatac / bagoup

Mac OS Messages export
GNU Affero General Public License v3.0
72 stars 4 forks source link

Mock PDFGenerator for testing #29

Closed tagatac closed 2 years ago

tagatac commented 2 years ago

Closes #26 Also renders #18 invalid as we are now only concerned with the inputs to wkhtmltopdf, and not its behavior.

codecov[bot] commented 2 years ago

Codecov Report

Merging #29 (81e3367) into main (86f9b32) will increase coverage by 1.13%. The diff coverage is 94.00%.

@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   96.65%   97.79%   +1.13%     
==========================================
  Files           7        6       -1     
  Lines         748      724      -24     
==========================================
- Hits          723      708      -15     
+ Misses         17       11       -6     
+ Partials        8        5       -3     
Impacted Files Coverage Δ
opsys/opsys.go 95.83% <ø> (ø)
write.go 97.76% <88.00%> (-2.24%) :arrow_down:
opsys/outfile.go 100.00% <100.00%> (+9.09%) :arrow_up:
opsys/pdfgen/pdfgen.go

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 86f9b32...81e3367. Read the comment docs.