intuit / postcss-themed

A PostCSS plugin for generating themes.
MIT License
62 stars 32 forks source link

adding test cases for increasing coverage #68

Closed yoqwerty closed 2 years ago

yoqwerty commented 2 years ago

What Changed

Added unit tests in modern.test.ts and common.test.ts for improving the code coverage

Why

https://github.com/intuit/postcss-themed/issues/18 Todo:

Published PR with canary version: 2.8.2-canary.68.784

codecov-commenter commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b6dd622). Click here to learn what that means. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #68   +/-   ##
=========================================
  Coverage          ?   93.39%           
=========================================
  Files             ?        5           
  Lines             ?      348           
  Branches          ?       92           
=========================================
  Hits              ?      325           
  Misses            ?       11           
  Partials          ?       12           
Impacted Files Coverage Δ
src/modern/index.ts 91.11% <100.00%> (ø)

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 b6dd622...0bf1a2c. Read the comment docs.

yoqwerty commented 2 years ago

BEFORE

Screen Shot 2021-10-01 at 3 45 54 PM

AFTER

Screen Shot 2021-10-01 at 8 32 03 PM