From ccb33d11f8205b60f4e95cb3a6863d59b1a163cc Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Tue, 12 May 2015 00:10:14 -0400 Subject: [PATCH] Fix error loading view during karma tests --- assets/test/karma.conf.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/test/karma.conf.js b/assets/test/karma.conf.js index a0078f8a1409..e4d54dca53fc 100644 --- a/assets/test/karma.conf.js +++ b/assets/test/karma.conf.js @@ -85,10 +85,10 @@ module.exports = function(config) { // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG logLevel: config.LOG_INFO, - // Uncomment the following lines if you are using grunt's server to run the tests - // proxies: { - // '/': 'http://localhost:9000/' - // }, + // Help karma find the views on disk in the app subdirectory + proxies: { + '/views/': '/app/views/' + }, // URL root prevent conflicts with the site root // urlRoot: '_karma_'