You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-23 15:42:28 +03:00
Vaguely working webpack test
This commit is contained in:
11
test/tests.js
Normal file
11
test/tests.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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");
|
||||
sdk.loadSkin(require('test-component-index'));
|
||||
|
||||
var context = require.context('.', true, /-test\.jsx?$/);
|
||||
context.keys().forEach(context);
|
||||
Reference in New Issue
Block a user