onChange = (value, delta) => {
      // Setting props unconditionally here will cause a change loop
      if (!calledDone) wrapper.setProps({ value: delta });
    }
Test suite uses mocha and enzyme to mock browser APIs

See Enzyme docs:
https://github.com/airbnb/enzyme/blob/master/docs/guides/jsdom.md
https://github.com/airbnb/enzyme/blob/master/docs/api/mount.md