From d5742fd66ebb207e34727e2efe5b76d65ffe6744 Mon Sep 17 00:00:00 2001 From: Tulio Casagrande Date: Wed, 29 Jun 2016 19:03:38 -0300 Subject: Fix sandbox.html request warning on js tests We added a proxy to serve the sandbox.html. This removes warnings from js tests --- web-ui/karma.conf.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web-ui/karma.conf.js') diff --git a/web-ui/karma.conf.js b/web-ui/karma.conf.js index 4e7406e0..adfd7d8a 100644 --- a/web-ui/karma.conf.js +++ b/web-ui/karma.conf.js @@ -50,10 +50,15 @@ module.exports = function (config) { {pattern: 'test/custom_matchers.js', included: false}, {pattern: 'test/features.js', included: false}, {pattern: 'test/spec/**/*.spec.js', included: false}, + {pattern: 'app/sandbox.html', included: true, served: true}, 'test/test-main.js' ], + proxies: { + '/sandbox/sandbox.html': '/base/app/sandbox.html', + }, + // list of files to exclude exclude: [ 'app/js/main.js' -- cgit v1.2.3