constructor(config, context) {
    super(config, context);

    this.domEnvironment = new ReactJSDOMEnvironment(config, context);

    this.global.window = this.domEnvironment.dom.window;
    this.global.document = this.global.window.document;
    this.global.navigator = this.global.window.navigator;
    this.global.Node = this.global.window.Node;
    this.global.addEventListener = this.global.window.addEventListener;
    this.global.MutationObserver = this.global.window.MutationObserver;
  }
Test environment for testing integration of react-dom (browser) with react-dom/server (node)