text: var expect = require('chai').expect;
  
  module.exports = function(helpers) {
      window.rerenderInitOrder = [];
  
      var component = helpers.mount(require('./index'), {
          version: 0
      });
  
      expect(window.rerenderInitOrder).to.deep.equal(['childA', 'childB', 'parent']);
  
      window.rerenderInitOrder = [];
  
      component.input = { 'version':  1};
      component.update();
  
      // console.log('ACTUAL ORDER: ', window.rerenderInitOrder);
      expect(window.rerenderInitOrder).to.deep.equal(['childA', 'childB', 'parent']);
  
      delete window.rerenderInitOrder;
  };