Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

remove uncessary check for parse result #182

Merged
merged 1 commit into from
Sep 11, 2017
Merged

Conversation

vigneshshanmugam
Copy link
Collaborator

  • the serialised parsed template is always an array.

@codecov
Copy link

codecov bot commented Sep 11, 2017

Codecov Report

Merging #182 into master will increase coverage by 0.16%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #182      +/-   ##
==========================================
+ Coverage   96.95%   97.12%   +0.16%     
==========================================
  Files          14       14              
  Lines         559      557       -2     
  Branches       94       93       -1     
==========================================
- Hits          542      541       -1     
+ Misses         17       16       -1
Impacted Files Coverage Δ
lib/request-handler.js 96.96% <100%> (+0.93%) ⬆️

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 bf8c333...775ef2f. Read the comment docs.

@vigneshshanmugam
Copy link
Collaborator Author

👍

1 similar comment
@DeTeam
Copy link
Contributor

DeTeam commented Sep 11, 2017

👍

} else {
resultStream.end(parsedTemplate);
}
parsedTemplate.forEach((item) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vigneshshanmugam Would it make sense to add a test or a task to add test for this module?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its already there in tests/parse-template.. since we never reached this part, codecov was decreased. I found this only through codecov report.

@vigneshshanmugam vigneshshanmugam merged commit dd86636 into master Sep 11, 2017
@vigneshshanmugam vigneshshanmugam deleted the cleanup-parse branch September 11, 2017 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants