Skip to content

Commit fec00a8

Browse files
DenrizSusamphilipp-spiess
authored andcommitted
Typo in comment (#14739)
"synchronously" instead of "syncrhonously".
1 parent 66eb293 commit fec00a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/create-subscription/src/__tests__/createSubscription-test.internal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('createSubscription', () => {
148148

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

434-
// Updates from the new subsribable should be ignored.
434+
// Updates from the new subscribable should be ignored.
435435
observableB.next('b-1');
436436
expect(ReactNoop.flush()).toEqual([]);
437437
expect(log).toEqual([

0 commit comments

Comments
 (0)