2016-03-24 22:59:01 +00:00
|
|
|
// tests.js
|
|
|
|
//
|
|
|
|
// Our master test file: uses the webpack require API to find our test files
|
|
|
|
// and run them
|
|
|
|
|
|
|
|
// this is a handly place to make sure the sdk has been skinned
|
|
|
|
var sdk = require("matrix-react-sdk");
|
2016-03-28 17:22:07 +00:00
|
|
|
sdk.loadSkin(require('./test-component-index'));
|
2016-03-24 22:59:01 +00:00
|
|
|
|
|
|
|
var context = require.context('.', true, /-test\.jsx?$/);
|
|
|
|
context.keys().forEach(context);
|