From 7e1e2347b5d068cd9771687da6ff0de66ff8c957 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 28 Mar 2016 18:22:07 +0100 Subject: [PATCH] Don't need alias for test-component-index --- karma.conf.js | 1 - test/tests.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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);