-
Notifications
You must be signed in to change notification settings - Fork 243
ts-migration/convert-some-utils-functions #315
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
ts-migration/convert-some-utils-functions #315
Conversation
|
Coverage isn't happy... Would it be quick to port a rule which uses these? |
|
I've merged #310 as well, fwiw. Doesn't seem like it created a merge conflict 🙂 |
|
@SimenB done - I've pushed |
|
Tests and coverage is failing on ci, btw |
|
@SimenB this is good to go! I pulled in another rule ( Everything's now back at 100% coverage, and |
| output: 'jest.setTimeout(5000);', | ||
| }, | ||
| { | ||
| code: 'jasmine.DEFAULT_TIMEOUT_INTERVAL = function() {}', |
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.
is this valid jasmine code?
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.
I'm happy to warn on it either way
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.
I don't think so, but it's technically something that could be done. Eitherway, it triggers the previously uncovered branch :)
This might cause issues with #310 but these three functions are the only ones from
tsUtilsthat are required for about three or four rules, so getting these across the line will let me land those straight away :)