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

Fix the path uniqueness problem #3

Merged
merged 2 commits into from
Sep 27, 2017

Conversation

fatfisz
Copy link
Collaborator

@fatfisz fatfisz commented Sep 27, 2017

This fixes #2.

@codecov
Copy link

codecov bot commented Sep 27, 2017

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          50     46    -4     
  Branches        4      4           
=====================================
- Hits           50     46    -4
Impacted Files Coverage Δ
src/macro.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 6ab59b8...73188d0. Read the comment docs.

@kentcdodds kentcdodds force-pushed the fix-uniqueness-problem branch 2 times, most recently from 36ab4cd to 98163fe Compare September 27, 2017 16:36
Copy link
Owner

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Ok, this looks great! This'll be released as 2.0.0 in a few minutes. Thanks!


expect.addSnapshotSerializer({
print(val) {
return val
.split(projectRoot)
.join('<PROJECT_ROOT>/')
.replace(/fixtures/g, 'my-files')
.replace(/fixtures/g, 'my_files')
Copy link
Owner

Choose a reason for hiding this comment

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

Why did you change this?

Copy link
Owner

Choose a reason for hiding this comment

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

I realized later why you did that. I changed it to simply files because I don't like snake_case 😉

Thanks!

Used other/snap-to-readme.js to update the README.md
@kentcdodds kentcdodds force-pushed the fix-uniqueness-problem branch from 98163fe to 73188d0 Compare September 27, 2017 16:41
@kentcdodds kentcdodds merged commit 82ef0e2 into kentcdodds:master Sep 27, 2017
@kentcdodds
Copy link
Owner

Thank you so much!

@kentcdodds
Copy link
Owner

Would you like to add yourself to the contributors table?

@kentcdodds
Copy link
Owner

Thanks so much for your help! I've added you as a collaborator on the project. Please make sure that you review the CONTRIBUTING.md file (specifically the bit about the commit messages and the git hooks) and familiarize yourself with the code of conduct (we're using the contributor covenant). You might also want to watch the repo to be notified when someone files an issue/PR. Please continue to make PRs as you feel the need (you can make your branches directly on the repo rather than your fork if you want). Thanks! And welcome to the team :)

@kentcdodds
Copy link
Owner

Oh, and the MAINTAINING.md file is useful too.

@fatfisz
Copy link
Collaborator Author

fatfisz commented Sep 27, 2017

Thanks, I'll add myself then :)

@fatfisz fatfisz deleted the fix-uniqueness-problem branch September 27, 2017 19:00
@kentcdodds
Copy link
Owner

Great! I'll look forward to your pull request 👍

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.

Change the key used for imported files
2 participants