Run some tests under karma

Including a regression test for
https://github.com/vector-im/vector-web/issues/1314
This commit is contained in:
Richard van der Hoff 2016-04-13 10:15:04 +01:00
parent 69ce3c43cf
commit 322af6513d
9 changed files with 595 additions and 11 deletions

7
test/all-tests.js Normal file
View file

@ -0,0 +1,7 @@
// all-tests.js
//
// Our master test file: uses the webpack require API to find our test files
// and run them
var context = require.context('./app-tests', true, /\.jsx?$/);
context.keys().forEach(context);