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

chore(dangerfile): fix test for hot and cold usages without types #2330

Merged
merged 1 commit into from
Feb 5, 2017
Merged

chore(dangerfile): fix test for hot and cold usages without types #2330

merged 1 commit into from
Feb 5, 2017

Conversation

mpodlasin
Copy link
Contributor

Description:

Hi, I just made two prs: #2329 #2328 and automatic checks fail on them, claiming I used hot and cold helpers in modified specs without type declarations for them.

Problem is, modified files seem to not use hot and cold helpers at all.

After checking dangerfile.js I suspect that logic in that file is flawed, so here is my attempt to fix it.

Warning
Note that I had no idea how to test this file, so please do yourself, or just carefully review.

Related issue (if exists):
Failing prs: #2329 #2328

Fix logic in test for files which use hot and cold helpers but
do not provide type declarations for them, so that files that do not
use hot and cold helpers at all would not count as false positives.
@coveralls
Copy link

coveralls commented Feb 5, 2017

Coverage Status

Coverage remained the same at 97.689% when pulling 7eb5015 on Podlas29:danger-hot-and-cold-match into 2889519 on ReactiveX:master.

@kwonoj kwonoj merged commit 6ce4773 into ReactiveX:master Feb 5, 2017
@kwonoj
Copy link
Member

kwonoj commented Feb 5, 2017

@Podlas29 yes, was my error to cause some issues. Rebase existing PR will retrigger danger with updated changes.

@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants