Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(formatResult): add formatResult option #17

Merged
merged 1 commit into from
Jul 18, 2017

Conversation

kentcdodds
Copy link
Member

What: Adds a formatResult option

Why: So people can format the snapshot with prettier or prettier-eslint if they want to.

How: apply formatResult function (defaults to an identity function) to the result.

@codecov-io
Copy link

codecov-io commented Jul 18, 2017

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #17   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         103    104    +1     
  Branches       23     24    +1     
=====================================
+ Hits          103    104    +1
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) ⬆️

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 10d2b4f...dcf5413. Read the comment docs.

@kentcdodds kentcdodds merged commit 6085c16 into master Jul 18, 2017
@kentcdodds kentcdodds deleted the pr/add-format-result branch July 18, 2017 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants