ramasilveyra / unreact

Convert React Components to EJS or Pug [Alpha][Unreleased]
MIT License
14 stars 3 forks source link

refactor: use babel on optimizations #9

Closed ramasilveyra closed 6 years ago

ramasilveyra commented 6 years ago
codecov-io commented 6 years ago

Codecov Report

Merging #9 into master will increase coverage by 1.67%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #9      +/-   ##
========================================
+ Coverage   98.32%   100%   +1.67%     
========================================
  Files          23     21       -2     
  Lines         657    598      -59     
  Branches      133    119      -14     
========================================
- Hits          646    598      -48     
+ Misses         11      0      -11
Impacted Files Coverage Δ
src/code-generator-pug.js 100% <100%> (ø) :arrow_up:
src/transformation.js 100% <100%> (ø) :arrow_up:
src/optimize/dead-code-elimination-visitor.js 100% <100%> (+8.33%) :arrow_up:
src/code-generator-ejs.js 100% <100%> (+6.94%) :arrow_up:
src/traverser.js 100% <100%> (ø) :arrow_up:
src/ast.js 100% <100%> (ø) :arrow_up:
src/optimize/create-inlining-visitor.js 100% <100%> (ø) :arrow_up:
src/optimize/evaluate.js 100% <100%> (+20%) :arrow_up:
src/optimize/is-truthy.js 100% <100%> (+20%) :arrow_up:

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 897641c...78e882a. Read the comment docs.