You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-22 04:02:40 +03:00
test component index and stub component
This commit is contained in:
18
test/test-component-index.js
Normal file
18
test/test-component-index.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* 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;
|
||||
var stub = require('./components/stub-component.js');
|
||||
|
||||
components['structures.LeftPanel'] = stub;
|
||||
components['structures.RightPanel'] = stub;
|
||||
components['structures.RoomDirectory'] = stub;
|
||||
components['views.globals.MatrixToolbar'] = stub;
|
||||
components['views.globals.GuestWarningBar'] = stub;
|
||||
components['views.globals.NewVersionBar'] = stub;
|
||||
components['views.elements.Spinner'] = stub;
|
||||
|
||||
module.exports.components = components;
|
||||
Reference in New Issue
Block a user