-
Notifications
You must be signed in to change notification settings - Fork 783
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
Conversation
There was a problem hiding this 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' |
There was a problem hiding this comment.
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'; | ||
|
There was a problem hiding this comment.
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(...);
@lex111 Thanks for review, I've fixed that. |
@mbelsky it's awesome, thanks! Happy Hacktoberfest! 🎃 |
🎃 |
Hey,
There are a few tests for Migration Helper.