Sandbox: https://codesandbox.io/s/cranky-kapitsa-op3jh

Repro: type "a" and then after a second "b"

Expected: Eventually you'll see "ab" in all fields. Pending "..." indicator goes away.

Actual: You'll keep seeing "a" in low pri field. Pending "..." indicator is stuck.
promise: null,
        };
        textCache.set(text, newRecord);
      }
    };
  });
  
  
  
  
  
  
  function span(prop) {
    return {type: 'span', children: [], prop, hidden: false};
  }
  function hiddenSpan(prop) {
    return {type: 'span', children: [], prop, hidden: true};
  }
  function advanceTimers(ms) {
    
    
    if (typeof ms !== 'number') {
      throw new Error('Must specify ms');
    }
    jest.advanceTimersByTime(ms);
    
    
    return Promise.resolve().then(() => {});
  }
  function Text(props) {