diff --git a/karma.conf.js b/karma.conf.js index 52eea45f12..1ae2494add 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -51,8 +51,17 @@ module.exports = function (config) { files: [ testFile, gsCss, + + // some images to reduce noise from the tests + {pattern: 'test/img/*', watched: false, included: false, + served: true, nocache: false}, ], + // redirect img links to the karma server + proxies: { + "/img/": "/base/test/img/", + }, + // list of files to exclude // // This doesn't work. It turns out that it's webpack which does the diff --git a/test/img/edit.png b/test/img/edit.png new file mode 100644 index 0000000000..6f373d3f3d Binary files /dev/null and b/test/img/edit.png differ