summaryrefslogtreecommitdiff
path: root/web-ui/karma.conf.js
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-06-29 19:03:38 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-06-29 19:11:49 -0300
commitd5742fd66ebb207e34727e2efe5b76d65ffe6744 (patch)
tree8f1729bf023c5b887cd0ebc41310cfb5d4b54766 /web-ui/karma.conf.js
parent7b517d831fc43c7318f100999af216817e77c5f8 (diff)
Fix sandbox.html request warning on js tests
We added a proxy to serve the sandbox.html. This removes warnings from js tests
Diffstat (limited to 'web-ui/karma.conf.js')
-rw-r--r--web-ui/karma.conf.js5
1 files changed, 5 insertions, 0 deletions
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'