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

refactor(tests) - Tests to fixtures - mergeSiblingVars #757

Merged
merged 2 commits into from
Dec 18, 2017

Conversation

vigneshshanmugam
Copy link
Member

No description provided.

@@ -0,0 +1,2 @@
let i = 0;
Copy link
Member

Choose a reason for hiding this comment

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

rename file - block-scoped-for ?

@@ -0,0 +1,2 @@
const j = 0;
for (const x = 0; ; ) console.log(j + x);
Copy link
Member

Choose a reason for hiding this comment

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

move this to previous test - as it tests block scoped vars merged to for loop

Copy link
Member Author

Choose a reason for hiding this comment

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

cool

@@ -0,0 +1,6 @@
for (var i = 0; i < 0; i++) {
Copy link
Member

Choose a reason for hiding this comment

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

filename: destructuring-var-lift ?

@boopathi
Copy link
Member

Looks like formatting errors -

$(yarn bin)/jest packages/babel-plugin-merge-sibling-variables -- --update-fixtures

will fix them

@boopathi boopathi merged commit abbfd6e into master Dec 18, 2017
@boopathi boopathi deleted the fixtures-merge-sib-vars branch December 18, 2017 23:08
@boopathi boopathi added the Tag: Internal Pull Request changing project internals - code that is NOT published label Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tag: Internal Pull Request changing project internals - code that is NOT published
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants