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

feat: add toEmitValue matchers #537

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MillerSvt
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #526

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@just-jeb
Copy link
Owner

Looks like the CI is failing on all negative cases.

@MillerSvt
Copy link
Contributor Author

Looks like the CI is failing on all negative cases.

Yes, I know. Please look at the rest. If everything is fine, I will fix the tests. They fall due to the fact that under linux there are other control characters for displaying colored text in the terminal.

Copy link
Owner

@just-jeb just-jeb left a comment

Choose a reason for hiding this comment

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

Have a few comments, other than that LGTM

@@ -0,0 +1,40 @@
import { CompleteNotification, ErrorNotification, NextNotification } from 'rxjs';
Copy link
Owner

Choose a reason for hiding this comment

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

Can't it be just imported from rxjs/internal?


Scheduler.get()['flushTests'].push(flushTest);

Scheduler.onFlush(() => {
Copy link
Owner

Choose a reason for hiding this comment

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

Why do we need this?

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.

2 participants