@@ -323,7 +323,7 @@ describe('instrument', () => {
323323 expect ( liftedStoreState . committedState ) . toBe ( undefined ) ;
324324 expect ( liftedStoreState . stagedActionIds ) . toInclude ( 1 ) ;
325325
326- // Triggers auto-commit.
326+ // Trigger auto-commit.
327327 configuredStore . dispatch ( { type : 'INCREMENT' } ) ;
328328 liftedStoreState = configuredLiftedStore . getState ( ) ;
329329
@@ -372,11 +372,11 @@ describe('instrument', () => {
372372 storeWithBug . dispatch ( { type : 'DECREMENT' } ) ;
373373 expect ( liftedStoreWithBug . getState ( ) . stagedActionIds . length ) . toBe ( 7 ) ;
374374
375- // should auto -commit only 2 non-error actions
375+ // Auto -commit 2 actions by "fixing" reducer bug, but introducing another.
376376 storeWithBug . replaceReducer ( counterWithAnotherBug ) ;
377377 expect ( liftedStoreWithBug . getState ( ) . stagedActionIds . length ) . toBe ( 5 ) ;
378378
379- // should auto -commit down to 3 actions
379+ // Auto -commit 2 more actions by "fixing" other reducer bug.
380380 storeWithBug . replaceReducer ( counter ) ;
381381 expect ( liftedStoreWithBug . getState ( ) . stagedActionIds . length ) . toBe ( 3 ) ;
382382
@@ -392,7 +392,7 @@ describe('instrument', () => {
392392 liftedStoreState = configuredLiftedStore . getState ( ) ;
393393 expect ( liftedStoreState . currentStateIndex ) . toBe ( 2 ) ;
394394
395- // currentStateIndex should stay at 2 as actions are committed
395+ // currentStateIndex should stay at 2 as actions are committed.
396396 configuredStore . dispatch ( { type : 'INCREMENT' } ) ;
397397 liftedStoreState = configuredLiftedStore . getState ( ) ;
398398 currentComputedState = liftedStoreState . computedStates [ liftedStoreState . currentStateIndex ] ;
0 commit comments