Typo in comment (#14739)
"synchronously" instead of "syncrhonously".
Deniz Susman committed
Feb 1, 2019 at 15:26 UTC
fec00a869c987c9fa3e8bb6354000375b3271315
1 file changed
+2
-2
packages/create-subscription/src/__tests__/createSubscription-test.internal.js
+2
-2
@@ -148,7 +148,7 @@ describe('createSubscription', () => {
148
149
// Test a promise that resolves before render
150
// 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
152
rejectB(false);
153
ReactNoop.render(<Subscription source={promiseB}>{render}</Subscription>);
154
expect(ReactNoop.flush()).toEqual(['loading']);
@@ -431,7 +431,7 @@ describe('createSubscription', () => {
431
'Parent.componentDidUpdate',
432
]);
433
434
- // Updates from the new subsribable should be ignored.
434
+ // Updates from the new subscribable should be ignored.
435
observableB.next('b-1');
436
expect(ReactNoop.flush()).toEqual([]);
437
expect(log).toEqual([