2016-03-28 16:24:27 +00:00
|
|
|
/*
|
|
|
|
* test-component-index.js
|
|
|
|
*
|
|
|
|
* Stub out a bunch of the components which we expect the application to
|
|
|
|
* provide
|
|
|
|
*/
|
|
|
|
var components = require('../src/component-index.js').components;
|
2016-03-30 23:48:46 +00:00
|
|
|
var stubComponent = require('./components/stub-component.js');
|
2016-03-28 16:24:27 +00:00
|
|
|
|
2016-03-30 23:48:46 +00:00
|
|
|
components['structures.LeftPanel'] = stubComponent();
|
|
|
|
components['structures.RightPanel'] = stubComponent();
|
|
|
|
components['structures.RoomDirectory'] = stubComponent();
|
|
|
|
components['views.globals.MatrixToolbar'] = stubComponent();
|
|
|
|
components['views.globals.GuestWarningBar'] = stubComponent();
|
|
|
|
components['views.globals.NewVersionBar'] = stubComponent();
|
|
|
|
components['views.elements.Spinner'] = stubComponent({displayName: 'Spinner'});
|
|
|
|
components['views.messages.DateSeparator'] = stubComponent({displayName: 'DateSeparator'});
|
|
|
|
components['views.messages.MessageTimestamp'] = stubComponent({displayName: 'MessageTimestamp'});
|
|
|
|
components['views.messages.SenderProfile'] = stubComponent({displayName: 'SenderProfile'});
|
2016-03-28 16:24:27 +00:00
|
|
|
|
|
|
|
module.exports.components = components;
|