diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-06-29 19:03:38 -0300 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-06-29 19:11:49 -0300 |
commit | d5742fd66ebb207e34727e2efe5b76d65ffe6744 (patch) | |
tree | 8f1729bf023c5b887cd0ebc41310cfb5d4b54766 /web-ui/karma.conf.js | |
parent | 7b517d831fc43c7318f100999af216817e77c5f8 (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.js | 5 |
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' |