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

fix(debounce): support scalar selectors #3236

Merged
merged 3 commits into from
Jan 19, 2018
Merged

Conversation

cartant
Copy link
Collaborator

@cartant cartant commented Jan 19, 2018

Description:

Adds a failing test and then fixes debounce so that selectors returning scalar observables are supported.

Related issue (if exists): #3232

@rxjs-bot
Copy link

rxjs-bot commented Jan 19, 2018

Messages
📖

CJS: 1401.7KB, global: 750.2KB (gzipped: 120.6KB), min: 145.4KB (gzipped: 31.4KB)

Generated by 🚫 dangerJS

Copy link
Member

@kwonoj kwonoj left a comment

Choose a reason for hiding this comment

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

LGTM

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 97.083% when pulling 5a633f9 on cartant:issue-3232 into d7cfb42 on ReactiveX:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 97.083% when pulling 54e6bef on cartant:issue-3232 into d7cfb42 on ReactiveX:master.

@cartant
Copy link
Collaborator Author

cartant commented Jan 19, 2018

Coverage decreased? That seems weird.

@kwonoj
Copy link
Member

kwonoj commented Jan 19, 2018

it sometimes occurs with those threshold, calculation is not always accurate.

@benlesh benlesh merged commit 1548393 into ReactiveX:master Jan 19, 2018
@benlesh
Copy link
Member

benlesh commented Jan 19, 2018

Thanks again, @cartant!

Don't worry about a 0.03% drop in coverage, it's probably just some math that's not in your favor, not necessarily a missed execution path or something.

acutmore pushed a commit to youviewtv/rxjs-5 that referenced this pull request Jan 23, 2018
* test(debounce): add failing scalar selector test

* fix(debounce): support scalar selectors

Closes ReactiveX#3232

* test(debounce): rename and comment test

(cherry picked from commit 1548393)
@cartant cartant deleted the issue-3232 branch March 31, 2018 02:24
@lock
Copy link

lock bot commented Jun 5, 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 5, 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.

5 participants