pugjs / babel-plugin-transform-react-pug

A plugin for transpiling pug templates to jsx
MIT License
808 stars 46 forks source link

Fix spread attribute #102

Closed ezhlobo closed 5 years ago

ezhlobo commented 5 years ago

Issue: #101

The real fix is upgrading pug-lexer to the upper version.

I also added some tests in order not to overlook that case accidentally.

codecov-io commented 5 years ago

Codecov Report

Merging #102 into master will increase coverage by 0.21%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
+ Coverage   86.92%   87.14%   +0.21%     
==========================================
  Files          21       21              
  Lines         459      459              
  Branches      112      112              
==========================================
+ Hits          399      400       +1     
+ Misses         54       53       -1     
  Partials        6        6
Impacted Files Coverage Δ
src/visitors/Tag.js 88.52% <0%> (+1.63%) :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 01568b2...5ebfb41. Read the comment docs.