Skip to content

Commit

Permalink
Typo in comment (#14739)
Browse files Browse the repository at this point in the history
"synchronously" instead of "syncrhonously".
  • Loading branch information
DenrizSusam authored and philipp-spiess committed Feb 1, 2019
1 parent 66eb293 commit fec00a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe('createSubscription', () => {

// Test a promise that resolves before render
// Note that this will require an extra render anyway,
// Because there is no way to syncrhonously get a Promise's value
// Because there is no way to synchronously get a Promise's value
rejectB(false);
ReactNoop.render(<Subscription source={promiseB}>{render}</Subscription>);
expect(ReactNoop.flush()).toEqual(['loading']);
Expand Down Expand Up @@ -431,7 +431,7 @@ describe('createSubscription', () => {
'Parent.componentDidUpdate',
]);

// Updates from the new subsribable should be ignored.
// Updates from the new subscribable should be ignored.
observableB.next('b-1');
expect(ReactNoop.flush()).toEqual([]);
expect(log).toEqual([
Expand Down

0 comments on commit fec00a8

Please sign in to comment.