Skip to content

Add test for Migration Helper (#518) #814

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

Merged
merged 2 commits into from
Oct 2, 2018
Merged

Add test for Migration Helper (#518) #814

merged 2 commits into from
Oct 2, 2018

Conversation

mbelsky
Copy link
Contributor

@mbelsky mbelsky commented Oct 2, 2018

Hey,
There are a few tests for Migration Helper.

@coveralls
Copy link

coveralls commented Oct 2, 2018

Coverage Status

Coverage increased (+0.3%) to 42.355% when pulling 8b14fb9 on mbelsky:patch-1 into 67a17ae on gitpoint:master.

Copy link
Member

@lex111 lex111 left a comment

Choose a reason for hiding this comment

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

Hi @mbelsky!

Thank you for this, small fixes still need to be made and we can merge!

@@ -0,0 +1,44 @@
import {getRepoIdFromUrl, toOldIssueFormat, toOldUserFormat} from 'utils'
Copy link
Member

Choose a reason for hiding this comment

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

Can you add spaces between curly braces?

import { getRepoIdFromUrl, toOldIssueFormat, toOldUserFormat } from 'utils'

state: 'StAte',
};
const repoId = 'git-point';

Copy link
Member

Choose a reason for hiding this comment

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

Why is there a space? Let's add one a space between the variable declarations and the expect calls, and stick with it in all it blocks, what do you think?

const a = 'something';
const b = 'something else';

expect(...);
expect(...);

@andrewda andrewda mentioned this pull request Oct 2, 2018
63 tasks
@mbelsky
Copy link
Contributor Author

mbelsky commented Oct 2, 2018

@lex111 Thanks for review, I've fixed that.

@lex111 lex111 merged commit 261db61 into gitpoint:master Oct 2, 2018
@lex111
Copy link
Member

lex111 commented Oct 2, 2018

@mbelsky it's awesome, thanks! Happy Hacktoberfest! 🎃

@housseindjirdeh
Copy link
Member

🎃

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.

4 participants