element-portable/tests/components/structures/MatrixChat-test.js
Richard van der Hoff f60dd93660 Initial implementation of some karma/mocha tests
It does something, but things I don't like:

* it churns for 15 seconds webpacking everything. Do we really need to get
  webpack involved here?

* I don't think there's any way to control which tests get run and which don't.

Other things I'd want to fix up include:

* Make it run on jsdom or phantomjs instead of Chrome
* figure out how to configure babel without a .babelrc
2016-03-29 00:12:58 +01:00

11 lines
252 B
JavaScript

var React = require('react');
var expect = require('expect');
var sdk = require("matrix-react-sdk");
var MatrixChat = sdk.getComponent('structures.MatrixChat');
describe('MatrixChat', function () {
it('does something', function () {
});
});