From 5c341154b781d48af00b94c9693f60db31ab1f1d Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 16 Apr 2018 00:19:08 +0100 Subject: [PATCH] fix theming during tests correctly --- karma.conf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 28b25cc1..6906e9b9 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -74,7 +74,7 @@ module.exports = function (config) { watched: false, included: false, served: true, nocache: false, }, { - pattern: 'res/themes/riot/img/*', + pattern: 'res/themes/**', watched: false, included: false, served: true, nocache: false, }, ], @@ -82,7 +82,7 @@ module.exports = function (config) { proxies: { // redirect img links to the karma server. See above. "/img/": "/base/node_modules/matrix-react-sdk/res/img/", - "/themes/riot/img/": "/base/res/themes/riot/img/", + "/themes/": "/base/res/themes/", }, // preprocess matching files before serving them to the browser