message: Fix test bootstrap for new skinning approach
diff: * app to provide
  */
  -// for ES6 stuff like startsWith() and Object.values() that babel doesn't do by
  -// default
  -require('babel-polyfill');
  +import * as sdk from "../src/index";
  +import stubComponent from "./components/stub-component";
  -const sdk = require("../src/index");
  -
  -const skin = require('../src/component-index.js');
  -const stubComponent = require('./components/stub-component.js');
  -
  -const components = skin.components;
  +const components = {};
  components['structures.LeftPanel'] = stubComponent();
  components['structures.RightPanel'] = stubComponent();
  components['structures.RoomDirectory'] = stubComponent();
  @@ -31,6 +25,6 @@ components['views.messages.MessageTimestamp'] = stubComponent({displayName: 'Mes
  components['views.messages.SenderProfile'] = stubComponent({displayName: 'SenderProfile'});
  components['views.rooms.SearchBar'] = stubComponent();
  -sdk.loadSkin(skin);
  +sdk.loadSkin({components});
  -module.exports = sdk;
  +export default sdk;
  