Closed fatfisz closed 6 years ago
Merging #127 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #127 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 23 23
Lines 150 152 +2
=====================================
+ Hits 150 152 +2
Impacted Files | Coverage Δ | |
---|---|---|
src/trimResultTransformer/trimResultTransformer.js | 100% <100%> (ø) |
:arrow_up: |
...c/stripIndentTransformer/stripIndentTransformer.js | 100% <100%> (ø) |
: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 a433625...548fede. Read the comment docs.
This PR does two things:
trimResultTransformer
- this is in line with string methods already in the standard (likepadStart
/padEnd
) and with the stage 2 proposaltrimStart
/trimEnd
.trimLeft
/trimRight
(or their start/end counterparts) are not yet a part of the standard, they are replaced in the code with regular expressions.