From df5cab23d58045b623d9e636d4bf31983b3595fc Mon Sep 17 00:00:00 2001 From: Kevin Vicrey Date: Sun, 15 Mar 2015 14:27:57 -0400 Subject: [PATCH] Fixed path error for test Grunt task --- templates/common/karma.conf.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/common/karma.conf.js b/templates/common/karma.conf.js index 639c17f..d1d9054 100644 --- a/templates/common/karma.conf.js +++ b/templates/common/karma.conf.js @@ -1,5 +1,7 @@ 'use strict'; +var path = require('path'); + module.exports = function (config) { config.set({ basePath: '', @@ -45,8 +47,8 @@ module.exports = function (config) { }, resolve: { alias: { - 'styles': './src/styles', - 'components': './src/scripts/components/' + 'styles': path.join(process.cwd(), './src/styles/'), + 'components': path.join(process.cwd(), './src/scripts/components/') } } },