diff --git a/karma.conf.js b/karma.conf.js index 9cf076b1a0..abd53f6afb 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -91,7 +91,6 @@ module.exports = function (config) { resolve: { alias: { 'matrix-react-sdk': path.resolve('src/index.js'), - 'test-component-index': path.resolve('test/test-component-index.js'), }, }, devtool: 'inline-source-map', diff --git a/test/tests.js b/test/tests.js index f5b9c36199..3eec9ae8ee 100644 --- a/test/tests.js +++ b/test/tests.js @@ -5,7 +5,7 @@ // 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')); +sdk.loadSkin(require('./test-component-index')); var context = require.context('.', true, /-test\.jsx?$/); context.keys().forEach(context);