-
Notifications
You must be signed in to change notification settings - Fork 38
Update rxjs peer dependency to include rxjs 7.x #103
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "@grammarly/focal-atom": minor | ||
| "@grammarly/focal": minor | ||
| --- | ||
|
|
||
| Update peer dependency to include rxjs versions up to 7.x |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -744,7 +744,7 @@ describe('atom', () => { | |
| describe('fromObservable', () => { | ||
| test('emits atom', async () => { | ||
| const a = await Atom.fromObservable(from([1])).pipe(take(1)).toPromise() | ||
| expect(a.get()).toEqual(1) | ||
| expect(a?.get()).toEqual(1) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| }) | ||
|
|
||
| test('emits atom once', async () => { | ||
|
|
@@ -755,7 +755,7 @@ describe('atom', () => { | |
| from(['hello']) | ||
| ).pipe(take(2), toArray()).toPromise() | ||
|
|
||
| expect(a[1]).toEqual('hello') | ||
| expect(a?.[1]).toEqual('hello') | ||
| }) | ||
|
|
||
| test('does not subscribe to source immediately', () => { | ||
|
|
||
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.
rxjs@7https://rxjs.dev/6-to-7-change-summary#observable