fix theming during tests correctly

pull/6500/head
Matthew Hodgson 4 years ago
parent 8684fae473
commit 5c341154b7
  1. 4
      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

Loading…
Cancel
Save